Added switcher "Allow app screenshots" for android
This commit is contained in:
parent
ed1afa7549
commit
4e3955b39d
5 changed files with 74 additions and 9 deletions
|
@ -43,6 +43,26 @@ PageType {
|
|||
headerText: qsTr("Application")
|
||||
}
|
||||
|
||||
SwitcherType {
|
||||
visible: GC.isMobile()
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.margins: 16
|
||||
|
||||
text: qsTr("Allow application screenshots")
|
||||
|
||||
checked: SettingsController.isScreenshotsEnabled()
|
||||
onCheckedChanged: {
|
||||
if (checked !== SettingsController.isScreenshotsEnabled()) {
|
||||
SettingsController.toggleScreenshotsEnabled(checked)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
DividerType {
|
||||
visible: GC.isMobile()
|
||||
}
|
||||
|
||||
SwitcherType {
|
||||
visible: !GC.isMobile()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue