mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-16 07:06:45 +00:00
GODT-1478: Add GUI settings for keychain selection.
This commit is contained in:
@ -159,10 +159,12 @@ func (f *FrontendQt) setKeychain() {
|
||||
availableKeychain = append(availableKeychain, chain)
|
||||
}
|
||||
f.qml.SetAvailableKeychain(availableKeychain)
|
||||
f.qml.SetSelectedKeychain(f.bridge.GetKeychainApp())
|
||||
f.qml.SetCurrentKeychain(f.bridge.GetKeychainApp())
|
||||
}
|
||||
|
||||
func (f *FrontendQt) selectKeychain(wantKeychain string) {
|
||||
func (f *FrontendQt) changeKeychain(wantKeychain string) {
|
||||
defer f.qml.ChangeKeychainFinished()
|
||||
|
||||
if f.bridge.GetKeychainApp() == wantKeychain {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user