mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Added workaround for Yahoo JP
This commit is contained in:
@@ -158,6 +158,10 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
||||
return "imap.gmail.com".equalsIgnoreCase(host);
|
||||
}
|
||||
|
||||
boolean isYahooJp() {
|
||||
return "imap.mail.yahoo.co.jp".equalsIgnoreCase(host);
|
||||
}
|
||||
|
||||
boolean isTransient(Context context) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean enabled = prefs.getBoolean("enabled", true);
|
||||
|
||||
Reference in New Issue
Block a user