summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divelogimportdialog.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-10 19:22:16 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-10 19:22:16 -0700
commit18b7ee3875f8e469a456b61f78fa3ab85b7f5041 (patch)
tree38f99f7ef452a4d7d1e01c0ca24df22b7656656c /desktop-widgets/divelogimportdialog.cpp
parent4ed369b9759d2a720cffcba3062d50713233150d (diff)
downloadsubsurface-18b7ee3875f8e469a456b61f78fa3ab85b7f5041.tar.gz
QML UI: try to do the right thing for changes on all platforms
On Android we can save locally right away, but we don't want to make the user wait for a network sync. Sadly, on Android currently the saving in the background doesn't work and the save will run when the user comes back. Definitely not ideal. On iOS the situation is different - a save to the local git cache takes surprisingly long. Must be the shitty file system they use or something. Because of that we only mark the dive list changed and instead save the next time the app is not in the foreground (which works on iOS but not on Android - go figure). On all the other OSs (I guess that would be desktop builds of Subsurface-mobile? But there may be other mobile OSs that people might want to build it on) we save both locally and to the cloud right away. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/divelogimportdialog.cpp')
0 files changed, 0 insertions, 0 deletions