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:
Dirk Hohndel 2020-03-26 14:27:14 -07:00
parent 59bc5bb368
commit 302404dac0

View file

@ -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();