Skip to content

Commit

Permalink
keyLayout.inPrivResist : not sync to cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
gdh1995 committed Jan 2, 2024
1 parent 1ba7062 commit c537a09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions background/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ const TrySet = <K extends SettingsNS.LocalSettingNames | keyof SettingsToSync> (
to_update = BgUtils_.safeObj_() as SettingsToUpdate
}
if (type === 1) {
if (key === "keyLayout") {
(value as SettingsToSync["keyLayout"]) = (value as SettingsToSync["keyLayout"]) & ~kKeyLayout.inPrivResistFp_ff
}
(to_update as Generalized<SettingsToUpdate>)[key as keyof SettingsToSync] = value
} else {
(toCleanDuringUpgrade || (toCleanDuringUpgrade = [])).push(key as SettingsNS.LocalSettingNames)
Expand Down

0 comments on commit c537a09

Please sign in to comment.