mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 21:24:34 +00:00
Check drafts on saving primary account only
This commit is contained in:
parent
29ae761435
commit
20d60fafe8
2 changed files with 5 additions and 1 deletions
4
app/proguard-rules.pro
vendored
4
app/proguard-rules.pro
vendored
|
@ -20,9 +20,13 @@
|
|||
# hide the original source file name.
|
||||
-renamesourcefileattribute SourceFile
|
||||
|
||||
#App
|
||||
-keep class eu.faircode.email.**
|
||||
-keepnames class eu.faircode.email.** { *; }
|
||||
|
||||
#Support library
|
||||
-keep class android.support.v7.app.AppCompatViewInflater{ <init>(...); }
|
||||
|
||||
#JavaMail
|
||||
-dontshrink
|
||||
-keep class javax.** {*;}
|
||||
|
|
|
@ -242,7 +242,7 @@ public class FragmentAccount extends Fragment {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (!drafts)
|
||||
if (account.primary && !drafts)
|
||||
throw new MessagingException(getContext().getString(R.string.title_no_drafts));
|
||||
} finally {
|
||||
if (istore != null)
|
||||
|
|
Loading…
Reference in a new issue