mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 01:06:11 +00:00
Post authentication
This commit is contained in:
parent
a7a4403819
commit
d221df4992
1 changed files with 26 additions and 21 deletions
|
@ -357,6 +357,9 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
|||
}.setExecutor(executor);
|
||||
|
||||
if (Helper.shouldAuthenticate(this, false))
|
||||
getMainHandler().post(new RunnableEx("authenticate") {
|
||||
@Override
|
||||
public void delegate() {
|
||||
Helper.authenticate(ActivityMain.this, ActivityMain.this, null,
|
||||
new RunnableEx("auth:succeeded") {
|
||||
@Override
|
||||
|
@ -402,6 +405,8 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
|||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
else
|
||||
boot.execute(this, new Bundle(), "main:accounts");
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue