mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Clean up cleaning
This commit is contained in:
parent
050fb0987d
commit
d1dc7b090c
1 changed files with 5 additions and 1 deletions
|
@ -143,7 +143,11 @@ public class MainApp extends Application {
|
|||
}
|
||||
}
|
||||
|
||||
mProvider.deleteSyncFolders(mContext, syncedFolderArrayList, ids);
|
||||
if (ids.size() > 0) {
|
||||
mProvider.deleteSyncFolders(mContext, syncedFolderArrayList, ids);
|
||||
} else {
|
||||
PreferenceManager.getDefaultSharedPreferences(mContext).edit().putBoolean("legacyClean", true).apply();
|
||||
}
|
||||
}
|
||||
|
||||
Log_OC.d("SyncedFolderObserverService", "Start service SyncedFolderObserverService");
|
||||
|
|
Loading…
Reference in a new issue