From fb6e92eb3120f87ea2265cdc3ec630981078c28e Mon Sep 17 00:00:00 2001 From: Mohsen Date: Mon, 14 Oct 2024 17:13:01 +0330 Subject: [PATCH] Using new icon. ic_location_tracking_white_24dp --- images/images.qrc | 1 + images/themes/qfield/nodpi/ic_location_tracking_white_24dp.svg | 2 ++ src/qml/qgismobileapp.qml | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 images/themes/qfield/nodpi/ic_location_tracking_white_24dp.svg 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 bee0068140..0f767f825b 100644 --- a/src/qml/qgismobileapp.qml +++ b/src/qml/qgismobileapp.qml @@ -1755,7 +1755,7 @@ ApplicationWindow { name: "On" PropertyChanges { target: gnssButton - iconSource: trackings.count > 0 ? Theme.getThemeVectorIcon("directions_walk_24dp") : 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 }