Small folder fixes

pull/200/head
M66B 3 years ago
parent 6b3c03a65c
commit 534c71130d

@ -776,7 +776,7 @@ public class FragmentFolders extends FragmentBase {
db.endTransaction(); db.endTransaction();
} }
ServiceSynchronize.reload(context, folder.account, false, "delete folder"); ServiceSynchronize.reload(context, folder.account, true, "delete folder");
return null; return null;
} }

@ -1350,7 +1350,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
int count = db.folder().renameFolder(account.id, old, name); int count = db.folder().renameFolder(account.id, old, name);
Log.i("Renamed to " + name + " count=" + count); Log.i("Renamed to " + name + " count=" + count);
if (count == 0) if (count != 0)
reload(ServiceSynchronize.this, account.id, false, "folder renamed"); reload(ServiceSynchronize.this, account.id, false, "folder renamed");
} finally { } finally {
wlFolder.release(); wlFolder.release();

Loading…
Cancel
Save