QML UI: reformat the warning message when turning off auto sync

This is silly - it should be set up so it wraps by itself...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-08 12:29:52 -07:00
parent a1ec0d6724
commit eefda2b090

View file

@ -147,10 +147,12 @@ Kirigami.ApplicationWindow {
onTriggered: {
syncToCloud = !syncToCloud
if (!syncToCloud) {
var alertText = "Turning off automatic sync to cloud causes all data to only be stored locally.\n"
alertText += "This can be very useful in situations with limited or no network access.\n"
alertText += "Please chose 'Manual sync with cloud' if you have network connectivity\n"
alertText += "and want to sync your data to cloud storage."
var alertText = "Turning off automatic sync to cloud causes all data\n"
alertText +=" to only be stored locally.\n"
alertText += "This can be very useful in situations with\n"
alertText += " limited or no network access.\n"
alertText += "Please chose 'Manual sync with cloud' if you have network\n"
alertText += " connectivity and want to sync your data to cloud storage."
showPassiveNotification(alertText, 10000)
}
}