Bugfix & clearer setting name

This commit is contained in:
David Baker 2019-11-20 16:12:14 +00:00
parent 518130c912
commit e36f4375b0
3 changed files with 3 additions and 3 deletions

View file

@ -363,7 +363,7 @@
"Automatically replace plain text Emoji": "Automatically replace plain text Emoji", "Automatically replace plain text Emoji": "Automatically replace plain text Emoji",
"Mirror local video feed": "Mirror local video feed", "Mirror local video feed": "Mirror local video feed",
"Enable Community Filter Panel": "Enable Community Filter Panel", "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", "Allow Peer-to-Peer for 1:1 calls": "Allow Peer-to-Peer for 1:1 calls",
"Send analytics data": "Send analytics data", "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", "Never send encrypted messages to unverified devices from this device": "Never send encrypted messages to unverified devices from this device",

View file

@ -278,7 +278,7 @@ export const SETTINGS = {
"use_system_theme": { "use_system_theme": {
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS, supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
default: true, default: true,
displayName: _td("Match system theme"), displayName: _td("Match system dark mode setting"),
}, },
"webRtcAllowPeerToPeer": { "webRtcAllowPeerToPeer": {
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG, supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG,

View file

@ -84,7 +84,7 @@ export class ThemeWatcher {
} }
isSystemThemeSupported() { isSystemThemeSupported() {
return this._preferDark || this._preferLight; return this._preferDark.matches || this._preferLight.matches;
} }
} }