GODT-937: Add keychain switcher to frontend

GODT-1008: Fix transparent dialog under certain conditions
This commit is contained in:
Alexander Bilyak
2021-02-10 00:49:39 +01:00
committed by James Houlahan
parent 8b436186a4
commit 0fe69d9de1
11 changed files with 267 additions and 0 deletions

View File

@ -210,3 +210,13 @@ func (b *Bridge) SetUpdateChannel(channel updater.UpdateChannel) error {
return b.versioner.RemoveOtherVersions(version.Version)
}
// GetKeychainApp returns current keychain helper.
func (b *Bridge) GetKeychainApp() string {
return b.settings.Get(settings.PreferredKeychainKey)
}
// SetKeychainApp sets current keychain helper.
func (b *Bridge) SetKeychainApp(helper string) {
b.settings.Set(settings.PreferredKeychainKey, helper)
}