mobile/settings: white space cleanup

Some odd empty lines and an unnecessary line break.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-02-06 08:29:37 -08:00
parent 2a0ba04d33
commit b3994ffd3f

View file

@ -153,14 +153,12 @@ TemplatePage {
ListElement {text: qsTr("Dark")} ListElement {text: qsTr("Dark")}
} }
onActivated: { onActivated: {
subsurfaceTheme.currentTheme = currentIndex === 0 ? "Blue" : subsurfaceTheme.currentTheme = currentIndex === 0 ? "Blue" : currentIndex === 1 ? "Pink" : "Dark"
currentIndex === 1 ? "Pink" : "Dark"
} }
} }
Rectangle { Rectangle {
color: subsurfaceTheme.backgroundColor color: subsurfaceTheme.backgroundColor
width: rootItem.width / 2 - 20 width: rootItem.width / 2 - 20
height: subsurfaceTheme.regularPointSize + 10 height: subsurfaceTheme.regularPointSize + 10
@ -190,7 +188,6 @@ TemplatePage {
border.width: 2 border.width: 2
border.color: "black" border.color: "black"
color: subsurfaceTheme.primaryColor color: subsurfaceTheme.primaryColor
width: rootItem.width / 2 - 20 width: rootItem.width / 2 - 20
height: subsurfaceTheme.regularPointSize + 10 height: subsurfaceTheme.regularPointSize + 10
@ -304,7 +301,6 @@ TemplatePage {
border.width: 2 border.width: 2
border.color: "black" border.color: "black"
color: subsurfaceTheme.drawerColor color: subsurfaceTheme.drawerColor
width: rootItem.width / 2 - 20 width: rootItem.width / 2 - 20
height: subsurfaceTheme.regularPointSize + 10 height: subsurfaceTheme.regularPointSize + 10