Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

add insets in landscape right mode

ammarahm-ed8e3912d56bb7
diff --git a/apps/mobile/src/navigation/tabsholder.js b/apps/mobile/src/navigation/tabsholder.js
index b71713452..6ae8d76eb 100644
--- a/apps/mobile/src/navigation/tabsholder.js
+++ b/apps/mobile/src/navigation/tabsholder.js
@@ -297,6 +297,8 @@ export const TabsHolder = React.memo(
flex: 1,
backgroundColor: colors.bg,
paddingBottom: Platform.OS === 'android' ? insets?.bottom : 0,
+ marginRight:
+ orientation === 'LANDSCAPE-RIGHT' && Platform.OS === 'ios' ? insets.right : 0,
marginLeft: orientation === 'LANDSCAPE-LEFT' && Platform.OS === 'ios' ? insets.left : 0
}}
>