1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 14:11:00 +00:00

Small folder fixes

This commit is contained in:
M66B 2021-07-17 16:10:26 +02:00
parent 6b3c03a65c
commit 534c71130d
2 changed files with 2 additions and 2 deletions

View file

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

View file

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