mirror of https://github.com/M66B/FairEmail.git
Fixed unified/primary folders navigation
This commit is contained in:
parent
f72ccac750
commit
32b648145e
|
@ -774,8 +774,6 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
private void init() {
|
||||
Bundle args = new Bundle();
|
||||
|
||||
long account = getIntent().getLongExtra("account", -1);
|
||||
|
||||
FragmentBase fragment;
|
||||
switch (startup) {
|
||||
case "accounts":
|
||||
|
@ -784,15 +782,11 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
break;
|
||||
case "folders":
|
||||
fragment = new FragmentFolders();
|
||||
args.putLong("account", account);
|
||||
args.putBoolean("unified", true);
|
||||
break;
|
||||
case "primary":
|
||||
fragment = new FragmentFolders();
|
||||
if (account < 0)
|
||||
args.putBoolean("primary", true);
|
||||
else
|
||||
args.putLong("account", account);
|
||||
args.putBoolean("primary", true);
|
||||
break;
|
||||
default:
|
||||
fragment = new FragmentMessages();
|
||||
|
|
Loading…
Reference in New Issue