mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile: small whitespace cleanup
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
56d959f733
commit
69f06f7043
1 changed files with 5 additions and 5 deletions
|
@ -165,7 +165,7 @@ Kirigami.ApplicationWindow {
|
||||||
height: rootItem.height
|
height: rootItem.height
|
||||||
rightPadding: 0
|
rightPadding: 0
|
||||||
enabled: (prefs.credentialStatus === CloudStatus.CS_NOCLOUD ||
|
enabled: (prefs.credentialStatus === CloudStatus.CS_NOCLOUD ||
|
||||||
prefs.credentialStatus === CloudStatus.CS_VERIFIED)
|
prefs.credentialStatus === CloudStatus.CS_VERIFIED)
|
||||||
topContent: Image {
|
topContent: Image {
|
||||||
source: "qrc:/qml/icons/dive.jpg"
|
source: "qrc:/qml/icons/dive.jpg"
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
@ -276,7 +276,7 @@ Kirigami.ApplicationWindow {
|
||||||
}
|
}
|
||||||
text: qsTr("Add dive manually")
|
text: qsTr("Add dive manually")
|
||||||
enabled: prefs.credentialStatus === CloudStatus.CS_VERIFIED ||
|
enabled: prefs.credentialStatus === CloudStatus.CS_VERIFIED ||
|
||||||
prefs.credentialStatus === CloudStatus.CS_NOCLOUD
|
prefs.credentialStatus === CloudStatus.CS_NOCLOUD
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
globalDrawer.close()
|
globalDrawer.close()
|
||||||
returnTopPage() // otherwise odd things happen with the page stack
|
returnTopPage() // otherwise odd things happen with the page stack
|
||||||
|
@ -322,7 +322,7 @@ Kirigami.ApplicationWindow {
|
||||||
}
|
}
|
||||||
text: qsTr("Manual sync with cloud")
|
text: qsTr("Manual sync with cloud")
|
||||||
enabled: prefs.credentialStatus === CloudStatus.CS_VERIFIED ||
|
enabled: prefs.credentialStatus === CloudStatus.CS_VERIFIED ||
|
||||||
prefs.credentialStatus === CloudStatus.CS_NOCLOUD
|
prefs.credentialStatus === CloudStatus.CS_NOCLOUD
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
if (prefs.credentialStatus === CloudStatus.CS_NOCLOUD) {
|
if (prefs.credentialStatus === CloudStatus.CS_NOCLOUD) {
|
||||||
returnTopPage()
|
returnTopPage()
|
||||||
|
@ -774,8 +774,8 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
||||||
manager.appendTextToLog("pageStack forced back to map")
|
manager.appendTextToLog("pageStack forced back to map")
|
||||||
}
|
}
|
||||||
} else if (pageStack.currentItem.objectName !== mapPage.objectName &&
|
} else if (pageStack.currentItem.objectName !== mapPage.objectName &&
|
||||||
pageStack.lastItem.objectName === mapPage.objectName &&
|
pageStack.lastItem.objectName === mapPage.objectName &&
|
||||||
hackToOpenMap === 1 /* MapSelected */) {
|
hackToOpenMap === 1 /* MapSelected */) {
|
||||||
// if we just picked the mapPage and are suddenly back on a different page
|
// if we just picked the mapPage and are suddenly back on a different page
|
||||||
// force things back to the mapPage
|
// force things back to the mapPage
|
||||||
manager.appendTextToLog("pageStack wrong page, switching back to map")
|
manager.appendTextToLog("pageStack wrong page, switching back to map")
|
||||||
|
|
Loading…
Add table
Reference in a new issue