mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-06 20:23:08 +00:00
fix(ui/views/App/Settings/SettingsCallsChat): bind selectedButton of encryption and lime to the right value
This commit is contained in:
parent
cda42e1a95
commit
8c990b060e
1 changed files with 16 additions and 2 deletions
|
|
@ -44,7 +44,14 @@ TabContainer {
|
|||
Binding {
|
||||
property: 'selectedButton'
|
||||
target: encryption
|
||||
value: SettingsModel.mediaEncryption
|
||||
value: {
|
||||
var toFound = SettingsModel.mediaEncryption
|
||||
return Number(
|
||||
Utils.findIndex(encryption.encryptions, function (value) {
|
||||
return toFound === value[0]
|
||||
})
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -121,7 +128,14 @@ TabContainer {
|
|||
Binding {
|
||||
property: 'selectedButton'
|
||||
target: lime
|
||||
value: SettingsModel.limeState
|
||||
value: {
|
||||
var toFound = SettingsModel.limeState
|
||||
return Number(
|
||||
Utils.findIndex(lime.limeStates, function (value) {
|
||||
return toFound === value[0]
|
||||
})
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue