Commit 02d1d1c3 authored by Jose Blaya's avatar Jose Blaya

Merge branch '308-reset-settings-not-working-for-nmt' into 'release/3.0.1'

Resolve "Reset settings not working for NMT"

See merge request ios/vpn-ios!418
parents ba270630 72d5ac3f
......@@ -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