Commit 72d5ac3f authored by Jose Blaya's avatar Jose Blaya

Reset Client preferences

parent ba270630
......@@ -338,6 +338,8 @@ class AppPreferences {
connectShortcut = nil
disconnectShortcut = nil
}
let preferences = Client.preferences.editable().reset()
preferences.commit()
transitionTheme(to: .light)
}
......@@ -352,6 +354,8 @@ class AppPreferences {
}
todayWidgetVpnStatus = L10n.Today.Widget.login
todayWidgetButtonTitle = L10n.Today.Widget.login
let preferences = Client.preferences.editable().reset()
preferences.commit()
}
// + (void)eraseForTesting;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment