diff options
author | jan Iversen <jan@casacondor.com> | 2020-01-13 18:18:22 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-26 16:42:35 -0800 |
commit | df9164f7e545ff2bcd19826240a4ec1aac409c4d (patch) | |
tree | 60e4f793c09cb7a335693e2bc2aa08fa7cbbe772 /mobile-widgets/qml/DiveDetails.qml | |
parent | 3c93ee862b712e1238a9ceacff2c7178fd9c16d1 (diff) | |
download | subsurface-df9164f7e545ff2bcd19826240a4ec1aac409c4d.tar.gz |
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>
Diffstat (limited to 'mobile-widgets/qml/DiveDetails.qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetails.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index a94de4f51..5f6e6a823 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -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") |