From df9164f7e545ff2bcd19826240a4ec1aac409c4d Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 13 Jan 2020 18:18:22 +0100 Subject: mobile-widgets/qml: integrate ThemeNew in qml Update Settings to use ThemeNew (for theme change) Reduce subsurfaceTheme in main Signed-off-by: jan Iversen Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveDetails.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mobile-widgets/qml/DiveDetails.qml') 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") -- cgit v1.2.3-70-g09d2