Changeset 62ef78b in subsurface


Ignore:
Timestamp:
Dec 14, 2017, 8:01:51 AM (6 weeks ago)
Author:
Jan Mulder <jlmulder@…>
Branches:
master
Children:
dd87350
Parents:
c21e998
git-author:
Jan Mulder <jlmulder@…> (12/13/17 13:07:21)
git-committer:
Jan Mulder <jlmulder@…> (12/14/17 08:01:51)
Message:

mobile: show message when going offline

Trivial fix. Show the message "Turning off automatic
sync to cloud ..." when turning automatic sync to offline. Just
a more logical moment to show this message. Also rephrase the
message "Enable auto sync" to "Auto sync enabled". It shows
a status, and not an action.

Signed-off-by: Jan Mulder <jlmulder@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qml/main.qml

    r4a9add1 r62ef78b  
    183183                                Kirigami.Action {
    184184                                iconName: syncToCloud ? "icons/ic_cloud_off.svg" : "icons/ic_cloud_done.svg"
    185                                 text: syncToCloud ? qsTr("Offline mode") : qsTr("Enable auto cloud sync")
     185                                text: syncToCloud ? qsTr("Offline mode") : qsTr("Auto cloud sync enabled")
    186186                                        enabled: manager.credentialStatus !== QMLManager.CS_NOCLOUD
    187187                                        onTriggered: {
    188188                                                syncToCloud = !syncToCloud
    189                                                 if (!syncToCloud) {
     189                                                if (syncToCloud) {
    190190                                                        showPassiveNotification(qsTr("Turning off automatic sync to cloud causes all data to only be \
    191191stored locally. This can be very useful in situations with limited or no network access. Please choose 'Manual sync with cloud' \
Note: See TracChangeset for help on using the changeset viewer.