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 {
|
||||
id: colorSchemeDelegate
|
||||
visible: item !== null
|
||||
visible: item !== null && Qt.platform.os !== "android"
|
||||
source: "qrc:/ColorScheme.qml"
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user