Made selecting a trash folder mandatory

This commit is contained in:
M66B
2018-10-22 13:01:49 +00:00
parent c8dd2c0bda
commit 6cdce79221
42 changed files with 176 additions and 172 deletions

View File

@@ -628,6 +628,8 @@ public class FragmentAccount extends FragmentEx {
interval = "9";
if (synchronize && drafts == null)
throw new Throwable(getContext().getString(R.string.title_no_drafts));
if (synchronize && trash == null)
throw new Throwable(getContext().getString(R.string.title_no_trash));
if (Color.TRANSPARENT == color)
color = null;