mirror of https://github.com/M66B/FairEmail.git
Conditionally refresh
This commit is contained in:
parent
e99ed12590
commit
25c7d1d33a
|
@ -85,6 +85,7 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
|||
protected void onExecuted(Bundle args, Boolean hasAccounts) {
|
||||
if (hasAccounts) {
|
||||
Intent view = new Intent(ActivityMain.this, ActivityView.class);
|
||||
if (ACTION_REFRESH.equals(getIntent().getAction()))
|
||||
view.putExtra("refresh", true);
|
||||
startActivity(view);
|
||||
ServiceSynchronize.watchdog(ActivityMain.this);
|
||||
|
|
Loading…
Reference in New Issue