diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java index 3f4d47e71..2ab21d41c 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java @@ -1128,7 +1128,9 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr }else{ E.post(new StatusUpdatedEvent(result)); } - Nav.finish(ComposeFragment.this); + if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O || !isStateSaved()) { + Nav.finish(ComposeFragment.this); + } if (getArguments().getBoolean("navigateToStatus", false)) { Bundle args=new Bundle(); args.putString("account", accountID);