Browse Source

Fixed initial account setup

main
M66B 6 years ago
parent
commit
40780faabe
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/src/main/java/eu/faircode/email/FragmentAccount.java

+ 2
- 2
app/src/main/java/eu/faircode/email/FragmentAccount.java View File

@ -600,8 +600,8 @@ public class FragmentAccount extends FragmentEx {
cbPrimary.setEnabled(account == null ? true : account.synchronize); cbPrimary.setEnabled(account == null ? true : account.synchronize);
ibDelete.setVisibility(account == null ? View.GONE : View.VISIBLE); ibDelete.setVisibility(account == null ? View.GONE : View.VISIBLE);
btnCheck.setVisibility(account.synchronize ? View.VISIBLE : View.GONE);
btnSave.setVisibility(account.synchronize ? View.GONE : View.VISIBLE);
btnCheck.setVisibility(account == null || account.synchronize ? View.VISIBLE : View.GONE);
btnSave.setVisibility(account == null || account.synchronize ? View.GONE : View.VISIBLE);
btnCheck.setEnabled(true); btnCheck.setEnabled(true);
pbWait.setVisibility(View.GONE); pbWait.setVisibility(View.GONE);


Loading…
Cancel
Save