Hide "QR-code" button from config import menu for Android devices without camera
This commit is contained in:
parent
3e02dfef63
commit
2b61c48303
6 changed files with 25 additions and 2 deletions
|
@ -90,7 +90,7 @@ It's okay as long as it's from someone you trust.")
|
|||
|
||||
LabelWithButtonType {
|
||||
Layout.fillWidth: true
|
||||
visible: GC.isMobile()
|
||||
visible: SettingsController.isCameraPresent()
|
||||
|
||||
text: qsTr("QR-code")
|
||||
rightImageSource: "qrc:/images/controls/chevron-right.svg"
|
||||
|
@ -105,7 +105,7 @@ It's okay as long as it's from someone you trust.")
|
|||
}
|
||||
|
||||
DividerType {
|
||||
visible: GC.isMobile()
|
||||
visible: SettingsController.isCameraPresent()
|
||||
}
|
||||
|
||||
LabelWithButtonType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue