File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
legacy/ui/legacy/src/main/java/com/fsck/k9/activity Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1453,11 +1453,11 @@ open class MessageList :
14531453 this .search = search
14541454 singleFolderMode = false
14551455
1456+ val folderIds = search.folderIds
14561457 if (search.searchAllAccounts()) {
14571458 val accountUuids = search.accountUuids
14581459 if (accountUuids.size == 1 ) {
14591460 account = accountManager.getAccount(accountUuids.elementAt(0 ))
1460- val folderIds = search.folderIds
14611461 singleFolderMode = folderIds.size == 1
14621462 } else {
14631463 account = null
@@ -1466,7 +1466,7 @@ open class MessageList :
14661466 if (account == null && search.accountUuids.size == 1 ) {
14671467 account = accountManager.getAccount(search.accountUuids.elementAt(0 ))
14681468 }
1469- singleFolderMode = true
1469+ singleFolderMode = folderIds.size == 1
14701470 }
14711471
14721472 configureDrawer()
You can’t perform that action at this time.
0 commit comments