diff --git a/apps/mobile/src/components/Container/index.js b/apps/mobile/src/components/Container/index.js index a0f613ca2..2c263d01c 100644 --- a/apps/mobile/src/components/Container/index.js +++ b/apps/mobile/src/components/Container/index.js @@ -12,7 +12,7 @@ export const Container = ({children, root}) => { diff --git a/apps/mobile/src/components/SimpleList/index.js b/apps/mobile/src/components/SimpleList/index.js index f8d186f32..2d8f961b1 100644 --- a/apps/mobile/src/components/SimpleList/index.js +++ b/apps/mobile/src/components/SimpleList/index.js @@ -204,8 +204,8 @@ const SimpleList = ({ ? 130 : 130 - 60 : listData[0] && !selectionMode - ? 155 - initialWindowMetrics.insets.top - : (155 - initialWindowMetrics.insets.top) - 60, + ? 155 - initialWindowMetrics?.insets?.top + : (155 - initialWindowMetrics?.insets?.top) - 60, }; }, [selectionMode, listData, colors]);