mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Group non unified folder notifications
This commit is contained in:
@@ -942,12 +942,19 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
getSupportFragmentManager().popBackStack("unified", 0);
|
||||
|
||||
long folder = Long.parseLong(action.split(":", 2)[1]);
|
||||
String[] parts = action.split(":");
|
||||
long folder = Long.parseLong(parts[1]);
|
||||
if (folder > 0) {
|
||||
intent.putExtra("folder", folder);
|
||||
onViewMessages(intent);
|
||||
}
|
||||
|
||||
if (parts.length > 2) {
|
||||
Intent clear = new Intent(this, ServiceUI.class)
|
||||
.setAction("clear:" + parts[2]);
|
||||
startService(clear);
|
||||
}
|
||||
|
||||
} else if ("why".equals(action)) {
|
||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
getSupportFragmentManager().popBackStack("unified", 0);
|
||||
|
||||
Reference in New Issue
Block a user