mobile-widgets/qml: move cloudSettings to general section.

move gridlayout cloudSettings to TemplateSection general, without changing
anything (apart from adding a visible: attribute and removing the rectangle
used to create a line).

Signed-off-by: jan Iversen <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
jan Iversen 2020-01-15 19:26:56 +01:00 committed by Dirk Hohndel
parent 12631ef2bb
commit bf7464788e

View file

@ -28,10 +28,9 @@ Kirigami.ScrollablePage {
title: qsTr("General settings") title: qsTr("General settings")
isExpanded: true isExpanded: true
}
GridLayout { GridLayout {
id: cloudSetting id: cloudSetting
visible: sectionGeneral.isExpanded
columns: 3 columns: 3
TemplateLabel { TemplateLabel {
@ -48,7 +47,6 @@ Kirigami.ScrollablePage {
} }
TemplateLabel { TemplateLabel {
text: Backend.cloud_verification_status === Enums.CS_NOCLOUD ? qsTr("Not applicable") : PrefCloudStorage.cloud_storage_email text: Backend.cloud_verification_status === Enums.CS_NOCLOUD ? qsTr("Not applicable") : PrefCloudStorage.cloud_storage_email
font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.60 Layout.preferredWidth: gridWidth * 0.60
} }
SsrfButton { SsrfButton {
@ -70,13 +68,9 @@ Kirigami.ScrollablePage {
Layout.preferredHeight: Kirigami.Units.gridUnit * 1.5 Layout.preferredHeight: Kirigami.Units.gridUnit * 1.5
} }
} }
Rectangle {
color: subsurfaceTheme.darkerPrimaryColor
height: 1
opacity: 0.5
Layout.fillWidth: true
} }
GridLayout { GridLayout {
id: themeSettings id: themeSettings
columns: 3 columns: 3