Revert "Improve WebDAV data sync version handling and force sync (#207)" (#218)

This reverts commit a630771f0b.
This commit is contained in:
nyne
2025-02-21 10:25:06 +08:00
committed by GitHub
parent 7b601058eb
commit e829f567e5
4 changed files with 30 additions and 57 deletions

View File

@@ -56,18 +56,6 @@ void _checkOldConfigs() {
.map((e) => e.key)
.toList();
}
if (appdata.settings['webdavAutoSync'] == null) {
var webdavConfig = appdata.settings['webdav'];
if (webdavConfig is List &&
webdavConfig.length == 3 &&
webdavConfig.whereType<String>().length == 3) {
appdata.settings['webdavAutoSync'] = true;
} else {
appdata.settings['webdavAutoSync'] = false;
}
appdata.saveData();
}
}
Future<void> _checkAppUpdates() async {