Disable existing local & remote sync

This commit is contained in:
Neeraj Gupta
2025-03-22 13:27:44 +05:30
parent b41c57cb8d
commit 8a079ab4f4
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ class LocalSyncService {
}
Future<void> sync() async {
if (!permissionService.hasGrantedPermissions()) {
if (!permissionService.hasGrantedPermissions() || true) {
_logger.info("Skipping local sync since permission has not been granted");
return;
}

View File

@@ -100,7 +100,7 @@ class RemoteSyncService {
}
Future<void> sync({bool silently = false}) async {
if (!_config.hasConfiguredAccount()) {
if (!_config.hasConfiguredAccount() || true) {
_logger.info("Skipping remote sync since account is not configured");
return;
}