mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
Mobile: Make Cloud Auto Synch Status Easier to Understand.
Add an explicit checkbox to the 'cloud auto synch' status toggle in the mobile 'Dive Management' menu in order to make it more intuitive to understand. This isn't super pretty, but I think it will improve the usability. A prettier way to achieve this will be to redesign the `ic_cloud_off.svg` / `ic_cloud_done.svg` in order to make them intuitively recognisable as unchecked / checked checkboxes. Example of a support request caused by confusion from the current implementation: https://groups.google.com/g/subsurface-divelog/c/9X-hTt9NFlE/m/ZcqtdOOhBQAJ Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
e260780c9d
commit
90e5de8357
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ Kirigami.ApplicationWindow {
|
||||||
icon {
|
icon {
|
||||||
name: PrefCloudStorage.cloud_auto_sync ? ":/icons/ic_cloud_off.svg" : ":/icons/ic_cloud_done.svg"
|
name: PrefCloudStorage.cloud_auto_sync ? ":/icons/ic_cloud_off.svg" : ":/icons/ic_cloud_done.svg"
|
||||||
}
|
}
|
||||||
text: PrefCloudStorage.cloud_auto_sync ? qsTr("Disable auto cloud sync") : qsTr("Enable auto cloud sync")
|
text: (PrefCloudStorage.cloud_auto_sync ? "\u2610 " : "\u2611 ") + qsTr("Auto cloud sync")
|
||||||
visible: Backend.cloud_verification_status !== Enums.CS_NOCLOUD
|
visible: Backend.cloud_verification_status !== Enums.CS_NOCLOUD
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
PrefCloudStorage.cloud_auto_sync = !PrefCloudStorage.cloud_auto_sync
|
PrefCloudStorage.cloud_auto_sync = !PrefCloudStorage.cloud_auto_sync
|
||||||
|
|
Loading…
Reference in a new issue