mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 10:17:18 +00:00
Reload on changing keep-alive interval
This commit is contained in:
parent
0ee61448a8
commit
bca195eb84
1 changed files with 3 additions and 1 deletions
|
@ -678,7 +678,9 @@ public class FragmentAccount extends FragmentEx {
|
|||
boolean check = (synchronize && (account == null ||
|
||||
!host.equals(account.host) || Integer.parseInt(port) != account.port ||
|
||||
!user.equals(account.user) || !password.equals(account.password)));
|
||||
boolean reload = (account == null || account.synchronize != synchronize || check);
|
||||
boolean reload = (check || account == null ||
|
||||
account.synchronize != synchronize ||
|
||||
account.poll_interval.equals(Integer.parseInt(interval)));
|
||||
|
||||
// Check IMAP server
|
||||
if (check) {
|
||||
|
|
Loading…
Reference in a new issue