From d803d3e63ce04aad68f4aaad776bac7d43b58905 Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Mon, 24 Jul 2017 19:17:04 +0200 Subject: 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 --- mobile-widgets/qml/main.qml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mobile-widgets') 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 + } } -- cgit v1.2.3-70-g09d2