summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetails.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/DiveDetails.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/DiveDetails.qml')
-rw-r--r--mobile-widgets/qml/DiveDetails.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index 5f6e6a823..8150b381c 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" ? 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")