mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix accent color not set if system theme is on
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user