A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix(mobile): fix header color on android causing. #2518
Mohamed Bassem17918626bc5b
diff --git a/apps/mobile/app/dashboard/(tabs)/(highlights)/_layout.tsx b/apps/mobile/app/dashboard/(tabs)/(highlights)/_layout.tsxindex 704e4563..275196b4 100644--- a/apps/mobile/app/dashboard/(tabs)/(highlights)/_layout.tsx+++ b/apps/mobile/app/dashboard/(tabs)/(highlights)/_layout.tsx@@ -13,6 +13,11 @@ export default function Layout() {headerLargeTitleShadowVisible: false,headerLargeStyle: { backgroundColor: "transparent" },},+ android: {+ headerStyle: {+ backgroundColor: "transparent",+ },+ },}),headerShadowVisible: false,}}diff --git a/apps/mobile/app/dashboard/(tabs)/(home)/_layout.tsx b/apps/mobile/app/dashboard/(tabs)/(home)/_layout.tsxindex 889b0875..eae90201 100644--- a/apps/mobile/app/dashboard/(tabs)/(home)/_layout.tsx+++ b/apps/mobile/app/dashboard/(tabs)/(home)/_layout.tsx@@ -13,6 +13,11 @@ export default function Layout() {headerLargeTitleShadowVisible: false,headerLargeStyle: { backgroundColor: "transparent" },},+ android: {+ headerStyle: {+ backgroundColor: "transparent",+ },+ },}),headerShadowVisible: false,}}diff --git a/apps/mobile/app/dashboard/(tabs)/(lists)/_layout.tsx b/apps/mobile/app/dashboard/(tabs)/(lists)/_layout.tsxindex 9de0af66..11cb7eba 100644--- a/apps/mobile/app/dashboard/(tabs)/(lists)/_layout.tsx+++ b/apps/mobile/app/dashboard/(tabs)/(lists)/_layout.tsx@@ -13,6 +13,11 @@ export default function Layout() {headerLargeTitleShadowVisible: false,headerLargeStyle: { backgroundColor: "transparent" },},+ android: {+ headerStyle: {+ backgroundColor: "transparent",+ },+ },}),headerShadowVisible: false,}}diff --git a/apps/mobile/app/dashboard/(tabs)/(settings)/_layout.tsx b/apps/mobile/app/dashboard/(tabs)/(settings)/_layout.tsxindex 79b2b19b..2cd2d918 100644--- a/apps/mobile/app/dashboard/(tabs)/(settings)/_layout.tsx+++ b/apps/mobile/app/dashboard/(tabs)/(settings)/_layout.tsx@@ -13,6 +13,11 @@ export default function Layout() {headerLargeTitleShadowVisible: false,headerLargeStyle: { backgroundColor: "transparent" },},+ android: {+ headerStyle: {+ backgroundColor: "transparent",+ },+ },}),headerShadowVisible: false,}}diff --git a/apps/mobile/app/dashboard/(tabs)/(tags)/_layout.tsx b/apps/mobile/app/dashboard/(tabs)/(tags)/_layout.tsxindex 5a9cee13..123752a3 100644--- a/apps/mobile/app/dashboard/(tabs)/(tags)/_layout.tsx+++ b/apps/mobile/app/dashboard/(tabs)/(tags)/_layout.tsx@@ -13,6 +13,11 @@ export default function Layout() {headerLargeTitleShadowVisible: false,headerLargeStyle: { backgroundColor: "transparent" },},+ android: {+ headerStyle: {+ backgroundColor: "transparent",+ },+ },}),headerShadowVisible: false,}}diff --git a/apps/mobile/app/dashboard/_layout.tsx b/apps/mobile/app/dashboard/_layout.tsxindex 91a8646d..66d17514 100644--- a/apps/mobile/app/dashboard/_layout.tsx+++ b/apps/mobile/app/dashboard/_layout.tsx@@ -3,7 +3,6 @@ import { useEffect } from "react";import { AppState, Platform } from "react-native";import { useRouter } from "expo-router";import { Stack } from "expo-router/stack";-import { StyledStack } from "@/components/navigation/stack";import { useIsLoggedIn } from "@/lib/session";import { focusManager } from "@tanstack/react-query";@@ -30,9 +29,7 @@ export default function Dashboard() {}, []);return (- <StyledStack- contentClassName="bg-gray-100 dark:bg-background"- headerClassName="dark:text-white"+ <StackscreenOptions={{...Platform.select({ios: {@@ -42,6 +39,11 @@ export default function Dashboard() {headerLargeTitleShadowVisible: false,headerLargeStyle: { backgroundColor: "transparent" },},+ android: {+ headerStyle: {+ backgroundColor: "transparent",+ },+ },}),headerShadowVisible: false,}}@@ -190,6 +192,6 @@ export default function Dashboard() {headerBackTitle: "Back",}}/>- </StyledStack>+ </Stack>);}