summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/main.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-15 09:40:54 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-03 17:30:35 -0800
commit35de9c49a4f2c2ab5abc3f52e8d005c0d1225971 (patch)
tree75190bcbf37239cfabfa1e47a40fc6e94c28d8cd /mobile-widgets/qml/main.qml
parent38120d555f45fb36c3d7de5b429f8a5e00ffa1e7 (diff)
downloadsubsurface-35de9c49a4f2c2ab5abc3f52e8d005c0d1225971.tar.gz
mobile-widgets: switch to new subsurfaceTheme
Remove subsurfaceTheme from main.qml Replace ThemeNew -> subsurfaceTheme change registration ThemeNew -> subsurfaceTheme Signed-off-by: jan Iversen <jan@casacondor.com>
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r--mobile-widgets/qml/main.qml26
1 files changed, 1 insertions, 25 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index e002062c8..7423c60c6 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -563,7 +563,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
] // end actions
Image {
fillMode: Image.PreserveAspectFit
- source: "qrc:///icons/" + (ThemeNew.currentTheme !== "" ? ThemeNew.currentTheme : "Blue") + "_gps.svg"
+ source: "qrc:///icons/" + (subsurfaceTheme.currentTheme !== "" ? subsurfaceTheme.currentTheme : "Blue") + "_gps.svg"
visible: locationServiceEnabled
}
}
@@ -607,30 +607,6 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
}
- QtObject {
- id: subsurfaceTheme
-
- property double regularPointSize: ThemeNew.regularPointSize
- property double titlePointSize: ThemeNew.titlePointSize
- property double headingPointSize: ThemeNew.headingPointSize
- property double smallPointSize: ThemeNew.smallPointSize
-
- // colors currently in use
- property color darkerPrimaryColor: ThemeNew.darkerPrimaryColor
- property color darkerPrimaryTextColor: ThemeNew.darkerPrimaryTextColor
- property color primaryColor: ThemeNew.primaryColor
- property color primaryTextColor: ThemeNew.primaryTextColor
- property color lightPrimaryColor: ThemeNew.lightPrimaryColor
- property color lightPrimaryTextColor: ThemeNew.lightPrimaryTextColor
- property color backgroundColor: ThemeNew.backgroundColor
- property color textColor: ThemeNew.textColor
- property color secondaryTextColor: ThemeNew.secondaryTextColor
- property color drawerColor: ThemeNew.drawerColor
- property color contrastAccentColor: ThemeNew.contrastAccentColor
- property color lightDrawerColor: ThemeNew.lightDrawerColor
-
- }
-
onWidthChanged: {
manager.appendTextToLog("Window width changed to " + width + " orientation " + Screen.primaryOrientation)
if (placeHolder.initialWidth !== undefined) {