mirror of https://github.com/M66B/FairEmail.git
Conditionally refresh
This commit is contained in:
parent
e99ed12590
commit
25c7d1d33a
|
@ -85,7 +85,8 @@ 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);
|
||||
view.putExtra("refresh", true);
|
||||
if (ACTION_REFRESH.equals(getIntent().getAction()))
|
||||
view.putExtra("refresh", true);
|
||||
startActivity(view);
|
||||
ServiceSynchronize.watchdog(ActivityMain.this);
|
||||
ServiceSend.watchdog(ActivityMain.this);
|
||||
|
|
Loading…
Reference in New Issue