Skip to content

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

fix bottom button positon on notchless devices

ammarahm-ed4809977c926b
diff --git a/apps/mobile/src/components/Container/ContainerBottomButton.js b/apps/mobile/src/components/Container/ContainerBottomButton.js
index ad16535fc..47a298455 100644
--- a/apps/mobile/src/components/Container/ContainerBottomButton.js
+++ b/apps/mobile/src/components/Container/ContainerBottomButton.js
@@ -53,7 +53,10 @@ export const ContainerBottomButton = ({
style={{
position: 'absolute',
right: 12,
- bottom: Platform.OS === 'ios' ? insets.bottom - 10 : insets.bottom + 12,
+ bottom:
+ Platform.OS === 'ios' && insets.bottom !== 0
+ ? insets.bottom - 10
+ : insets.bottom + 12,
zIndex: 10,
transform: [
{