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>
This commit is contained in:
jan Iversen 2020-01-15 09:40:54 +01:00 committed by Dirk Hohndel
parent 38120d555f
commit 35de9c49a4
5 changed files with 8 additions and 32 deletions

View file

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