mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-25 05:52:40 +03:00
Merge pull request #529 from Yubico/device-panel-fix
settings: fix device panel bug
This commit is contained in:
commit
615e03f4d8
@ -196,6 +196,11 @@ Flickable {
|
||||
|
||||
Repeater {
|
||||
model: yubiKey.availableDevices
|
||||
onModelChanged: {
|
||||
if (yubiKey.availableDevices.length < 2) {
|
||||
currentDevicePanel.isExpanded = false
|
||||
}
|
||||
}
|
||||
StyledRadioButton {
|
||||
Layout.fillWidth: true
|
||||
objectName: index
|
||||
|
Loading…
Reference in New Issue
Block a user