fix: ensure default value is provided

pull/2955/head
Kee Jefferys 2 years ago
parent ff09d8e104
commit 6b78cc1d4b

@ -49,7 +49,7 @@ const settingsSlice = createSlice({
SettingsKey.hasBlindedMsgRequestsEnabled,
false
);
const hasShiftSendEnabled = Storage.get(SettingsKey.hasShiftSendEnabled);
const hasShiftSendEnabled = Storage.get(SettingsKey.hasShiftSendEnabled, false);
state.settingsBools.someDeviceOutdatedSyncing = isBoolean(outdatedSync)
? outdatedSync

Loading…
Cancel
Save