mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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 all other platforms we just save the changes and be done with it
|
||||
mark_divelist_changed(true);
|
||||
#if defined(Q_OS_ANDROID)
|
||||
saveChangesLocal();
|
||||
#elif !defined(Q_OS_IOS)
|
||||
#if !defined(Q_OS_IOS)
|
||||
saveChangesCloud(false);
|
||||
#endif
|
||||
updateAllGlobalLists();
|
||||
|
|
Loading…
Reference in a new issue