Hide inapplicable settings on android

BUG: 456674
CCBUG: 454741
CCBUG: 456676
This commit is contained in:
Tobias Fella
2022-11-21 01:38:35 +01:00
committed by Carl Schwan
parent 89471b797d
commit 3e5421604b
3 changed files with 3 additions and 1 deletions

View File

@@ -224,7 +224,7 @@ Kirigami.ScrollablePage {
Loader {
id: colorSchemeDelegate
visible: item !== null
visible: item !== null && Qt.platform.os !== "android"
source: "qrc:/ColorScheme.qml"
Layout.fillWidth: true
}

View File

@@ -58,6 +58,7 @@ Kirigami.ScrollablePage {
text: i18n("Automatically hide/unhide the room information when resizing the window")
checked: Config.autoRoomInfoDrawer
enabled: !Config.isAutoRoomInfoDrawerImmutable
visible: Qt.platform.os !== "android"
onToggled: {
Config.autoRoomInfoDrawer = checked
Config.save()

View File

@@ -37,6 +37,7 @@ Kirigami.CategorizedSettings {
text: i18n("Spell Checking")
iconName: "tools-check-spelling"
page: Qt.resolvedUrl("SonnetConfigPage.qml")
visible: Qt.platform.os !== "android"
},
Kirigami.SettingAction {
text: i18n("Network Proxy")