Fixed unified/primary folders navigation

pull/214/head
M66B 12 months ago
parent 3c000ffd1a
commit 8ef2dfe77b

@ -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…
Cancel
Save