mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
iOS: ensure changes are saved locally
This was disabled in the past because it was deemed to slow. A lot of time has passed, since. Maybe on current phones / iPads this is acceptable again? Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
59bc5bb368
commit
302404dac0
1 changed files with 1 additions and 2 deletions
|
@ -1264,9 +1264,8 @@ void QMLManager::changesNeedSaving()
|
||||||
// on iOS
|
// on iOS
|
||||||
// on all other platforms we just save the changes and be done with it
|
// on all other platforms we just save the changes and be done with it
|
||||||
mark_divelist_changed(true);
|
mark_divelist_changed(true);
|
||||||
#if defined(Q_OS_ANDROID)
|
|
||||||
saveChangesLocal();
|
saveChangesLocal();
|
||||||
#elif !defined(Q_OS_IOS)
|
#if !defined(Q_OS_IOS)
|
||||||
saveChangesCloud(false);
|
saveChangesCloud(false);
|
||||||
#endif
|
#endif
|
||||||
updateAllGlobalLists();
|
updateAllGlobalLists();
|
||||||
|
|
Loading…
Add table
Reference in a new issue