mobile-widgets/qml: integrate ThemeNew in qml

Update Settings to use ThemeNew (for theme change)
Reduce subsurfaceTheme in main

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-13 18:18:22 +01:00 committed by Dirk Hohndel
parent 3c93ee862b
commit df9164f7e5
2 changed files with 15 additions and 130 deletions

View file

@ -188,8 +188,8 @@ Kirigami.Page {
actions.main: Kirigami.Action {
icon {
name: state !== "view" ? ":/icons" + subsurfaceTheme.iconStyle + "/document-save.svg" :
":/icons" + subsurfaceTheme.iconStyle + "/document-edit.svg"
name: state !== "view" ? ThemeNew.iconStyle + "/document-save.svg" :
ThemeNew.iconStyle + "/document-edit.svg"
color: subsurfaceTheme.primaryColor
}
text: state !== "view" ? qsTr("Save edits") : qsTr("Edit dive")