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>
This commit is contained in:
Joakim Bygdell 2017-07-24 19:17:04 +02:00 committed by Dirk Hohndel
parent a981c3d7c1
commit d803d3e63c

View file

@ -281,6 +281,11 @@ if you have network connectivity and want to sync your data to cloud storage."),
} }
} }
] // end actions ] // end actions
Kirigami.Icon {
source: "icons/" + subsurfaceTheme.currentTheme + "_gps.svg"
enabled: false
visible: locationServiceEnabled
}
} }