Disable existing local & remote sync
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user