mirror of
https://github.com/pachli/pachli-android.git
synced 2025-01-24 06:04:07 +01:00
b8ac1f3944
The previous code didn't clear the task stack or recreate `MainActivity` when the active user was changed. So if the user was logged in with account A and used "Compose" from a notification sent to account B, the active account was switched to B but the UI chrome wasn't. After exiting `ComposeActivity` they would be looking at the timeline for account B but with a toolbar that showed account A. Fix this by clearing the task stack and explicitly recreating `MainActivity` when forwarding intents to `ComposeActivity`. |
||
---|---|---|
.. | ||
accounts | ||
activity | ||
common | ||
data | ||
database | ||
designsystem | ||
navigation | ||
network | ||
preferences | ||
testing | ||
ui | ||
AndroidManifest.xml |