mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
3c93ee862b
commit
df9164f7e5
2 changed files with 15 additions and 130 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue