forked from Silverfish/proton-bridge
GODT-1388: Refactor Alternative routing
This commit is contained in:
@ -99,12 +99,8 @@ func (f *FrontendQt) toggleAutostart(makeItEnabled bool) {
|
||||
}
|
||||
|
||||
func (f *FrontendQt) toggleDoH(makeItEnabled bool) {
|
||||
if f.settings.GetBool(settings.AllowProxyKey) == makeItEnabled {
|
||||
f.qml.SetIsDoHEnabled(makeItEnabled)
|
||||
return
|
||||
}
|
||||
f.settings.SetBool(settings.AllowProxyKey, makeItEnabled)
|
||||
f.restart()
|
||||
f.bridge.SetProxyAllowed(makeItEnabled)
|
||||
f.qml.SetIsDoHEnabled(f.bridge.GetProxyAllowed())
|
||||
}
|
||||
|
||||
func (f *FrontendQt) toggleUseSSLforSMTP(makeItEnabled bool) {
|
||||
|
||||
Reference in New Issue
Block a user