mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
maverick comments
This commit is contained in:
parent
4a5c51be89
commit
ad082b68ec
2 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ class Util {
|
|||
console.log(text);
|
||||
};
|
||||
|
||||
// MacOs 12.2 (M1): always returns false regardless current color theme
|
||||
isDarkTheme () {
|
||||
return nativeTheme.shouldUseDarkColors || nativeTheme.shouldUseHighContrastColors || nativeTheme.shouldUseInvertedColorScheme;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue