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

Commit bed8d80b authored by narinder Rana's avatar narinder Rana
Browse files

Merge branch '5557-flipping-page-header' into 'main'

5557 flipping page header

See merge request !87
parents 1a4af6f6 26ff3df4
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -160,7 +160,10 @@ class MessageListFragment :
        if (!isUnifiedInbox && currentFolder != null) {
            foldersViewModel.getFolderListLiveData().observe(this) { folderList ->
                folderList.folders.forEach {
                    if (it.folder.id == currentFolder?.databaseId) {
                    if (isUnifiedInbox) {
                        return@observe
                    }
                    if (currentFolder != null && !currentFolder!!.loading && it.folder.id == currentFolder!!.databaseId) {
                        unreadMessageCount = it.unreadMessageCount
                        setWindowTitle()
                        return@forEach