Fixed showing outbox from nav menu

pull/206/head
M66B 3 years ago
parent c58093959a
commit 947f890d94

@ -140,9 +140,12 @@ public class AdapterNavUnified extends RecyclerView.Adapter<AdapterNavUnified.Vi
return; return;
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context); LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
lbm.sendBroadcast( if (EntityFolder.OUTBOX.equals(folder.type))
new Intent(ActivityView.ACTION_VIEW_MESSAGES) lbm.sendBroadcast(new Intent(ActivityView.ACTION_VIEW_OUTBOX));
.putExtra("type", folder.type)); else
lbm.sendBroadcast(
new Intent(ActivityView.ACTION_VIEW_MESSAGES)
.putExtra("type", folder.type));
} }
} }

Loading…
Cancel
Save