A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix color scheme
ammarahm-ed11f39316b546
diff --git a/apps/mobile/share/store.js b/apps/mobile/share/store.jsindex c638b9f57..a9e9f6c69 100644--- a/apps/mobile/share/store.js+++ b/apps/mobile/share/store.js@@ -44,13 +44,14 @@ if (appSettings) {}const systemColorScheme = Appearance.getColorScheme();-const appColorScheme = appSettings.colorScheme;-const useSystemTheme = appSettings.useSystemTheme;+const appColorScheme = appSettings?.colorScheme;+const useSystemTheme = appSettings?.useSystemTheme;const currentColorScheme = useSystemTheme ? systemColorScheme : appColorScheme;-const theme = currentColorScheme- ? appSettings?.darkTheme- : appSettings?.lightTheme;+const theme =+ currentColorScheme === "dark"+ ? appSettings?.darkTheme+ : appSettings?.lightTheme;const currentTheme =theme || (currentColorScheme === "dark" ? ThemeDark : ThemeLight);