From fbb6b01fc210dc318243143078eb84030b52eb73 Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Thu, 23 Feb 2023 15:31:19 +0600 Subject: [PATCH] 6697-Allow_stateloss_on_commit_fragmentTransaction issue: https://gitlab.e.foundation/e/backlog/-/issues/6697 --- app/ui/legacy/src/main/java/com/fsck/k9/activity/MessageList.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui/legacy/src/main/java/com/fsck/k9/activity/MessageList.kt b/app/ui/legacy/src/main/java/com/fsck/k9/activity/MessageList.kt index fbaddd1ef9..87bf041e63 100644 --- a/app/ui/legacy/src/main/java/com/fsck/k9/activity/MessageList.kt +++ b/app/ui/legacy/src/main/java/com/fsck/k9/activity/MessageList.kt @@ -317,7 +317,7 @@ open class MessageList : search!!, false, K9.isThreadedViewEnabled && !noThreading ) fragmentTransaction.add(R.id.message_list_container, messageListFragment) - fragmentTransaction.commitNow() + fragmentTransaction.commitNowAllowingStateLoss() this.messageListFragment = messageListFragment } -- GitLab