summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-06 08:29:37 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-06 21:45:00 -0800
commitb3994ffd3fc54d3ab628394e7265b21508ac9863 (patch)
tree2e152c1756fe9bfe2e6edea1531af543ee369cb6 /mobile-widgets
parent2a0ba04d338d94f443efe1f2fa185efa29c37c60 (diff)
downloadsubsurface-b3994ffd3fc54d3ab628394e7265b21508ac9863.tar.gz
mobile/settings: white space cleanup
Some odd empty lines and an unnecessary line break. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/Settings.qml6
1 files changed, 1 insertions, 5 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml
index c5a71f5cd..d6522bcdc 100644
--- a/mobile-widgets/qml/Settings.qml
+++ b/mobile-widgets/qml/Settings.qml
@@ -153,14 +153,12 @@ TemplatePage {
ListElement {text: qsTr("Dark")}
}
onActivated: {
- subsurfaceTheme.currentTheme = currentIndex === 0 ? "Blue" :
- currentIndex === 1 ? "Pink" : "Dark"
+ subsurfaceTheme.currentTheme = currentIndex === 0 ? "Blue" : currentIndex === 1 ? "Pink" : "Dark"
}
}
Rectangle {
color: subsurfaceTheme.backgroundColor
-
width: rootItem.width / 2 - 20
height: subsurfaceTheme.regularPointSize + 10
@@ -190,7 +188,6 @@ TemplatePage {
border.width: 2
border.color: "black"
color: subsurfaceTheme.primaryColor
-
width: rootItem.width / 2 - 20
height: subsurfaceTheme.regularPointSize + 10
@@ -304,7 +301,6 @@ TemplatePage {
border.width: 2
border.color: "black"
color: subsurfaceTheme.drawerColor
-
width: rootItem.width / 2 - 20
height: subsurfaceTheme.regularPointSize + 10