diff options
author | Joakim Bygdell <j.bygdell@gmail.com> | 2017-07-24 19:17:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-26 01:39:26 +0900 |
commit | d803d3e63ce04aad68f4aaad776bac7d43b58905 (patch) | |
tree | b8ba65fb1aa4443edc3a3d9c5cf94bdaf42ea1c8 /mobile-widgets/qml | |
parent | a981c3d7c199b04b3eb505a6d0a567c01ba38d35 (diff) | |
download | subsurface-d803d3e63ce04aad68f4aaad776bac7d43b58905.tar.gz |
QML UI: display gps fix icon in the global drawer
Kirigami prevents us from altering the color of the gps icon in the action menu. So let's display an gps fix icon in the lower left corner of the drawer when the location services is running, colored to match the themes primary accent color.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/main.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 0a45ab09e..46099d829 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -281,6 +281,11 @@ if you have network connectivity and want to sync your data to cloud storage."), } } ] // end actions + Kirigami.Icon { + source: "icons/" + subsurfaceTheme.currentTheme + "_gps.svg" + enabled: false + visible: locationServiceEnabled + } } |