mirror of https://github.com/M66B/FairEmail.git
Refactoring
This commit is contained in:
parent
a9d24170cb
commit
e4d0ec3402
|
@ -311,7 +311,9 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
|||
password = savedInstanceState.getString("fair:password");
|
||||
}
|
||||
|
||||
DB.getInstance(this).account().liveSynchronizingAccounts().observe(this, new Observer<List<EntityAccount>>() {
|
||||
DB db = DB.getInstance(this);
|
||||
|
||||
db.account().liveSynchronizingAccounts().observe(this, new Observer<List<EntityAccount>>() {
|
||||
@Override
|
||||
public void onChanged(List<EntityAccount> accounts) {
|
||||
hasAccount = (accounts != null && accounts.size() > 0);
|
||||
|
|
Loading…
Reference in New Issue