mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
Fix webdav prevent immediate upload when webdavAutoSync toggle (#221)
This commit is contained in:
@@ -44,7 +44,7 @@ class DataSync with ChangeNotifier {
|
||||
|
||||
bool get isEnabled {
|
||||
var config = appdata.settings['webdav'];
|
||||
var autoSync = appdata.settings['webdavAutoSync'] ?? false;
|
||||
var autoSync = appdata.implicitData['webdavAutoSync'] ?? false;
|
||||
return autoSync && config is List && config.isNotEmpty;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user