mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 15:17:03 +02:00
Fixed unified/primary folders navigation
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user