Fix fragment stack breaking after opening a notification

This commit is contained in:
Grishka
2024-03-17 04:24:12 +03:00
parent bf55b5a802
commit 5622c93bd9

View File

@@ -152,6 +152,11 @@ public class MainActivity extends FragmentStackActivity{
} }
fragment.setArguments(args); fragment.setArguments(args);
showFragment(fragment); showFragment(fragment);
Intent intent=getIntent();
intent.removeExtra("fromNotification");
intent.removeExtra("notification");
intent.removeExtra("accountID");
setIntent(intent);
} }
private void showCompose(){ private void showCompose(){