Skip to content

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

fix theming

ammarahm-ed22755a0a2a1f
diff --git a/apps/mobile/src/common/common.js b/apps/mobile/src/common/common.js
index d9a41b162..12e6568c0 100755
--- a/apps/mobile/src/common/common.js
+++ b/apps/mobile/src/common/common.js
@@ -205,7 +205,7 @@ export async function getColorScheme(useSystemTheme) {
} else {
setAccentColor(accentColor);
}
-
+
if (useSystemTheme) {
StatusBar.setBarStyle(
Appearance.getColorScheme() === 'dark' ? 'light-content' : 'dark-content',
@@ -213,7 +213,7 @@ export async function getColorScheme(useSystemTheme) {
Appearance.getColorScheme() === 'dark'
? setColorScheme(COLOR_SCHEME_DARK)
- : setColorScheme(COLOR_SCHEME_DARK);
+ : setColorScheme(COLOR_SCHEME_LIGHT);
return COLOR_SCHEME;
}
@@ -226,7 +226,7 @@ export async function getColorScheme(useSystemTheme) {
theme = JSON.parse(theme);
theme.night
? setColorScheme(COLOR_SCHEME_DARK)
- : setColorScheme(COLOR_SCHEME_DARK);
+ : setColorScheme(COLOR_SCHEME_LIGHT);
StatusBar.setBarStyle(theme.night ? 'light-content' : 'dark-content');
}