From 0d7181cbbc957ff9e72072f1308acdea7ac4b143 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 27 Dec 2020 16:35:48 +0100 Subject: [PATCH] Fixed is transient account --- app/src/main/java/eu/faircode/email/EntityAccount.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/EntityAccount.java b/app/src/main/java/eu/faircode/email/EntityAccount.java index 09d5a905f5..929b6f24ac 100644 --- a/app/src/main/java/eu/faircode/email/EntityAccount.java +++ b/app/src/main/java/eu/faircode/email/EntityAccount.java @@ -154,7 +154,7 @@ public class EntityAccount extends EntityOrder implements Serializable { boolean isTransient(Context context) { SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); boolean enabled = prefs.getBoolean("enabled", true); - int pollInterval = prefs.getInt("poll_interval", DEFAULT_POLL_INTERVAL); + int pollInterval = prefs.getInt("poll_interval", ServiceSynchronize.DEFAULT_POLL_INTERVAL); return (!enabled || this.ondemand || (pollInterval > 0 && !this.poll_exempted)); }