Bugfix & clearer setting name
This commit is contained in:
parent
518130c912
commit
e36f4375b0
3 changed files with 3 additions and 3 deletions
|
@ -363,7 +363,7 @@
|
|||
"Automatically replace plain text Emoji": "Automatically replace plain text Emoji",
|
||||
"Mirror local video feed": "Mirror local video feed",
|
||||
"Enable Community Filter Panel": "Enable Community Filter Panel",
|
||||
"Match system theme": "Match system theme",
|
||||
"Match system dark mode setting": "Match system dark mode setting",
|
||||
"Allow Peer-to-Peer for 1:1 calls": "Allow Peer-to-Peer for 1:1 calls",
|
||||
"Send analytics data": "Send analytics data",
|
||||
"Never send encrypted messages to unverified devices from this device": "Never send encrypted messages to unverified devices from this device",
|
||||
|
|
|
@ -278,7 +278,7 @@ export const SETTINGS = {
|
|||
"use_system_theme": {
|
||||
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
|
||||
default: true,
|
||||
displayName: _td("Match system theme"),
|
||||
displayName: _td("Match system dark mode setting"),
|
||||
},
|
||||
"webRtcAllowPeerToPeer": {
|
||||
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG,
|
||||
|
|
|
@ -84,7 +84,7 @@ export class ThemeWatcher {
|
|||
}
|
||||
|
||||
isSystemThemeSupported() {
|
||||
return this._preferDark || this._preferLight;
|
||||
return this._preferDark.matches || this._preferLight.matches;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue