diff --git a/app/views/RoomsListView/index.tsx b/app/views/RoomsListView/index.tsx index 894b4255c..e80778317 100644 --- a/app/views/RoomsListView/index.tsx +++ b/app/views/RoomsListView/index.tsx @@ -4,7 +4,6 @@ import { batch, connect } from 'react-redux'; import { dequal } from 'dequal'; import Orientation from 'react-native-orientation-locker'; import { Q } from '@nozbe/watermelondb'; -import { withSafeAreaInsets } from 'react-native-safe-area-context'; import { Subscription } from 'rxjs'; import { StackNavigationOptions, StackNavigationProp } from '@react-navigation/stack'; import { Header } from '@react-navigation/elements'; @@ -85,7 +84,6 @@ interface IRoomsListViewProps { useRealName: boolean; isMasterDetail: boolean; subscribedRoom: string; - insets: { left: number; bottom: number; right: number; top: number }; queueSize: number; inquiryEnabled: boolean; encryptionBanner: string; @@ -207,7 +205,6 @@ class RoomsListView extends React.Component ({ createDiscussionPermission: state.permissions['start-discussion'] }); -export default connect(mapStateToProps)(withTheme(withSafeAreaInsets(RoomsListView))); +export default connect(mapStateToProps)(withTheme(RoomsListView));