Skip to content

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

fix accent color not set if system theme is on

ammarahm-ede23464ac1ba9
diff --git a/apps/mobile/src/utils/colorscheme/utils.js b/apps/mobile/src/utils/colorscheme/utils.js
index 1e9e04b84..04bec4a20 100644
--- a/apps/mobile/src/utils/colorscheme/utils.js
+++ b/apps/mobile/src/utils/colorscheme/utils.js
@@ -70,6 +70,7 @@ export function getColorScheme() {
const darkTheme = pitchBlack ? COLOR_SCHEME_PITCH_BLACK : COLOR_SCHEME_DARK;
if (useSystemTheme) {
+ setAccentColor(theme.accent);
Appearance.getColorScheme() === 'dark'
? setColorScheme(darkTheme)
: setColorScheme(COLOR_SCHEME_LIGHT);