Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84d5e721 authored by cketti's avatar cketti
Browse files

Fix a crash when using the back button in a search results list with "Manage...

Fix a crash when using the back button in a search results list with "Manage Back button" preference enabled.

Fixes issue 1716
parent b43126c6
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -581,10 +581,17 @@ public class MessageList
        // or later, or by the code above on earlier versions of the
        // platform.
        if (K9.manageBack())
        {
            if (mQueryString == null)
            {
                onShowFolderList();
            }
            else
            {
                onAccounts();
            }
        }
        else
        {
            finish();
        }