diff --git a/app/src/main/java/com/keylesspalace/tusky/MainActivity.java b/app/src/main/java/com/keylesspalace/tusky/MainActivity.java index 2c4c7dfa..0c8f3dec 100644 --- a/app/src/main/java/com/keylesspalace/tusky/MainActivity.java +++ b/app/src/main/java/com/keylesspalace/tusky/MainActivity.java @@ -285,7 +285,9 @@ public final class MainActivity extends BottomSheetActivity implements ActionBut composeIntent.setAction(intent.getAction()); composeIntent.setType(intent.getType()); composeIntent.putExtras(intent); + composeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); startActivity(composeIntent); + finish(); } private void setupDrawer() {