diff --git a/app/views/RoomView/LeftButtons.tsx b/app/views/RoomView/LeftButtons.tsx index e05975551..e0ab07194 100644 --- a/app/views/RoomView/LeftButtons.tsx +++ b/app/views/RoomView/LeftButtons.tsx @@ -24,6 +24,7 @@ const styles = StyleSheet.create({ }); interface ILeftButtonsProps { + rid?: string; tmid?: string; unreadsCount: number | null; navigation: StackNavigationProp; @@ -38,6 +39,7 @@ interface ILeftButtonsProps { } const LeftButtons = ({ + rid, tmid, unreadsCount, navigation, @@ -78,7 +80,7 @@ const LeftButtons = ({ } if (baseUrl && userId && token) { - return ; + return ; } return null; }; diff --git a/app/views/RoomView/index.tsx b/app/views/RoomView/index.tsx index 96f556674..1dbe9b8ba 100644 --- a/app/views/RoomView/index.tsx +++ b/app/views/RoomView/index.tsx @@ -588,6 +588,7 @@ class RoomView extends React.Component { headerRightContainerStyle: { flexGrow: undefined, flexBasis: undefined }, headerLeft: () => (