mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 10:19:08 +00:00
Use toLowerCase for config values
Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
This commit is contained in:
@@ -132,7 +132,7 @@ export const _refreshRemoteConfig = async (
|
||||
const oldConfig = config;
|
||||
config = Array.from(newConfigValues.entries()).reduce(
|
||||
(acc, [name, value]) => {
|
||||
const enabled = value !== undefined && value !== 'false';
|
||||
const enabled = value !== undefined && value.toLowerCase() !== 'false';
|
||||
const previouslyEnabled: boolean = get(
|
||||
oldConfig,
|
||||
[name, 'enabled'],
|
||||
|
||||
Reference in New Issue
Block a user