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

Unverified Commit 51cae10c authored by Rafael Tonholo's avatar Rafael Tonholo
Browse files

refactor(outbox): use OutboxFolderManager to retrieve the outbox id in MessageListFragment

parent c37bf416
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1665,7 +1665,7 @@ class MessageListFragment :
    }

    val isOutbox: Boolean
        get() = isSpecialFolder(account?.outboxFolderId)
        get() = isSpecialFolder(account?.id?.let(outboxFolderManager::getOutboxFolderIdSync))

    private val isInbox: Boolean
        get() = isSpecialFolder(account?.inboxFolderId)