From ffb31d399dad07fbfdc25bcfa72cc9f1976c408e Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Wed, 7 Dec 2022 11:19:19 -0300 Subject: [PATCH] Remove insets hoc from RoomsListView --- app/views/RoomsListView/index.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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));