diff --git a/images/images.qrc b/images/images.qrc index 553c917deb..ef2c2a7025 100644 --- a/images/images.qrc +++ b/images/images.qrc @@ -170,5 +170,6 @@ themes/qfield/nodpi/ic_arrow_drop_up_48dp.svg themes/qfield/nodpi/ic_shutdown_24dp.svg themes/qfield/nodpi/ic_egeniouss_receiver_black_24dp.svg + themes/qfield/nodpi/ic_location_tracking_white_24dp.svg diff --git a/images/themes/qfield/nodpi/ic_location_tracking_white_24dp.svg b/images/themes/qfield/nodpi/ic_location_tracking_white_24dp.svg new file mode 100644 index 0000000000..28a874f298 --- /dev/null +++ b/images/themes/qfield/nodpi/ic_location_tracking_white_24dp.svg @@ -0,0 +1,2 @@ + + diff --git a/src/qml/qgismobileapp.qml b/src/qml/qgismobileapp.qml index d90e93b324..0f767f825b 100644 --- a/src/qml/qgismobileapp.qml +++ b/src/qml/qgismobileapp.qml @@ -1755,7 +1755,7 @@ ApplicationWindow { name: "On" PropertyChanges { target: gnssButton - iconSource: positionSource.positionInformation && positionSource.positionInformation.latitudeValid ? Theme.getThemeVectorIcon("ic_location_valid_white_24dp") : Theme.getThemeVectorIcon("ic_location_white_24dp") + iconSource: trackings.count > 0 ? Theme.getThemeVectorIcon("ic_location_tracking_white_24dp") : positionSource.positionInformation && positionSource.positionInformation.latitudeValid ? Theme.getThemeVectorIcon("ic_location_valid_white_24dp") : Theme.getThemeVectorIcon("ic_location_white_24dp") iconColor: followActive ? "white" : Theme.positionColor bgcolor: followActive ? Theme.positionColor : Theme.darkGray }