mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Check when synchronize is enabled only
This commit is contained in:
@@ -673,8 +673,8 @@ public class FragmentAccount extends FragmentEx {
|
||||
DB db = DB.getInstance(context);
|
||||
EntityAccount account = db.account().getAccount(id);
|
||||
|
||||
boolean check = (account == null || (synchronize &&
|
||||
(!host.equals(account.host) || Integer.parseInt(port) != account.port) ||
|
||||
boolean check = (synchronize && (account == null ||
|
||||
!host.equals(account.host) || Integer.parseInt(port) != account.port ||
|
||||
!user.equals(account.user) || !password.equals(account.password)));
|
||||
|
||||
// Check IMAP server
|
||||
|
||||
Reference in New Issue
Block a user