A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix(mobile): add manual padding to avoid the native tabs on android. fixes #2518
Mohamed Bassemdac78a075dc4
diff --git a/apps/mobile/app/dashboard/(tabs)/(highlights)/_layout.tsx b/apps/mobile/app/dashboard/(tabs)/(highlights)/_layout.tsxindex 275196b4..d0dfafdc 100644--- a/apps/mobile/app/dashboard/(tabs)/(highlights)/_layout.tsx+++ b/apps/mobile/app/dashboard/(tabs)/(highlights)/_layout.tsx@@ -17,6 +17,10 @@ export default function Layout() {headerStyle: {backgroundColor: "transparent",},+ contentStyle: {+ // Manual padding to avoid the native tabbar until expo fixes this in sdk 55.+ paddingBottom: 100,+ },},}),headerShadowVisible: false,diff --git a/apps/mobile/app/dashboard/(tabs)/(home)/_layout.tsx b/apps/mobile/app/dashboard/(tabs)/(home)/_layout.tsxindex eae90201..b4cb655f 100644--- a/apps/mobile/app/dashboard/(tabs)/(home)/_layout.tsx+++ b/apps/mobile/app/dashboard/(tabs)/(home)/_layout.tsx@@ -17,6 +17,10 @@ export default function Layout() {headerStyle: {backgroundColor: "transparent",},+ contentStyle: {+ // Manual padding to avoid the native tabbar until expo fixes this in sdk 55.+ paddingBottom: 100,+ },},}),headerShadowVisible: false,diff --git a/apps/mobile/app/dashboard/(tabs)/(lists)/_layout.tsx b/apps/mobile/app/dashboard/(tabs)/(lists)/_layout.tsxindex 11cb7eba..64deea59 100644--- a/apps/mobile/app/dashboard/(tabs)/(lists)/_layout.tsx+++ b/apps/mobile/app/dashboard/(tabs)/(lists)/_layout.tsx@@ -17,6 +17,10 @@ export default function Layout() {headerStyle: {backgroundColor: "transparent",},+ contentStyle: {+ // Manual padding to avoid the native tabbar until expo fixes this in sdk 55.+ paddingBottom: 100,+ },},}),headerShadowVisible: false,diff --git a/apps/mobile/app/dashboard/(tabs)/(settings)/_layout.tsx b/apps/mobile/app/dashboard/(tabs)/(settings)/_layout.tsxindex 2cd2d918..7bbb7774 100644--- a/apps/mobile/app/dashboard/(tabs)/(settings)/_layout.tsx+++ b/apps/mobile/app/dashboard/(tabs)/(settings)/_layout.tsx@@ -17,6 +17,10 @@ export default function Layout() {headerStyle: {backgroundColor: "transparent",},+ contentStyle: {+ // Manual padding to avoid the native tabbar until expo fixes this in sdk 55.+ paddingBottom: 100,+ },},}),headerShadowVisible: false,diff --git a/apps/mobile/app/dashboard/(tabs)/(tags)/_layout.tsx b/apps/mobile/app/dashboard/(tabs)/(tags)/_layout.tsxindex 123752a3..e97bcc4d 100644--- a/apps/mobile/app/dashboard/(tabs)/(tags)/_layout.tsx+++ b/apps/mobile/app/dashboard/(tabs)/(tags)/_layout.tsx@@ -17,6 +17,10 @@ export default function Layout() {headerStyle: {backgroundColor: "transparent",},+ contentStyle: {+ // Manual padding to avoid the native tabbar until expo fixes this in sdk 55.+ paddingBottom: 100,+ },},}),headerShadowVisible: false,