fix: ensure default value is provided

This commit is contained in:
Kee Jefferys 2023-10-12 17:20:17 +11:00
parent ff09d8e104
commit 6b78cc1d4b
1 changed files with 1 additions and 1 deletions

View File

@ -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