Hide inapplicable settings on android
BUG: 456674 CCBUG: 454741 CCBUG: 456676
This commit is contained in:
committed by
Carl Schwan
parent
89471b797d
commit
3e5421604b
@@ -224,7 +224,7 @@ Kirigami.ScrollablePage {
|
|||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: colorSchemeDelegate
|
id: colorSchemeDelegate
|
||||||
visible: item !== null
|
visible: item !== null && Qt.platform.os !== "android"
|
||||||
source: "qrc:/ColorScheme.qml"
|
source: "qrc:/ColorScheme.qml"
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ Kirigami.ScrollablePage {
|
|||||||
text: i18n("Automatically hide/unhide the room information when resizing the window")
|
text: i18n("Automatically hide/unhide the room information when resizing the window")
|
||||||
checked: Config.autoRoomInfoDrawer
|
checked: Config.autoRoomInfoDrawer
|
||||||
enabled: !Config.isAutoRoomInfoDrawerImmutable
|
enabled: !Config.isAutoRoomInfoDrawerImmutable
|
||||||
|
visible: Qt.platform.os !== "android"
|
||||||
onToggled: {
|
onToggled: {
|
||||||
Config.autoRoomInfoDrawer = checked
|
Config.autoRoomInfoDrawer = checked
|
||||||
Config.save()
|
Config.save()
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ Kirigami.CategorizedSettings {
|
|||||||
text: i18n("Spell Checking")
|
text: i18n("Spell Checking")
|
||||||
iconName: "tools-check-spelling"
|
iconName: "tools-check-spelling"
|
||||||
page: Qt.resolvedUrl("SonnetConfigPage.qml")
|
page: Qt.resolvedUrl("SonnetConfigPage.qml")
|
||||||
|
visible: Qt.platform.os !== "android"
|
||||||
},
|
},
|
||||||
Kirigami.SettingAction {
|
Kirigami.SettingAction {
|
||||||
text: i18n("Network Proxy")
|
text: i18n("Network Proxy")
|
||||||
|
|||||||
Reference in New Issue
Block a user