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

Commit 498c0b78 authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

Rename Unfied Inbox to All Inboxes

parent 920e6066
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ interface MessageStore {
    fun <T> getDisplayFolders(displayMode: FolderMode, outboxFolderId: Long?, mapper: FolderMapper<T>): List<T>

    /**
     * Check if all given folders are included in the Unified Inbox.
     * Check if all given folders are included in the All Inboxes.
     */
    fun areAllIncludedInUnifiedInbox(folderIds: Collection<Long>): Boolean

+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ public class LocalSearch implements SearchSpecification {
    // Public manipulation methods
    ///////////////////////////////////////////////////////////////
    /**
     * Set the ID of the search. This is used to identify a unified inbox
     * Set the ID of the search. This is used to identify a All Inboxes
     * search
     *
     * @param id ID to set
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ class TestCoreResourceProvider : CoreResourceProvider {
    override fun replyHeader(sender: String) = "$sender wrote:"
    override fun replyHeader(sender: String, sentDate: String) = "On $sentDate, $sender wrote:"

    override fun searchUnifiedInboxTitle() = "Unified Inbox"
    override fun searchUnifiedInboxTitle() = "All Inboxes"
    override fun searchUnifiedInboxDetail() = "All messages in unified folders"

    override fun outboxFolderName() = "Outbox"
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
            android:paddingTop="12dp"
            android:textSize="20sp"
            android:textColor="@color/message_list_widget_header_text"
            tools:text="Unified Inbox" />
            tools:text="All Inboxes" />

        <ImageButton
            android:id="@+id/new_message"
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ class UnreadWidgetDataProviderTest : AppRobolectricTest() {
        val widgetData = provider.loadUnreadWidgetData(configuration)

        with(widgetData!!) {
            assertThat(title).isEqualTo("Unified Inbox")
            assertThat(title).isEqualTo("All Inboxes")
            assertThat(unreadCount).isEqualTo(SEARCH_ACCOUNT_UNREAD_COUNT)
        }
    }
Loading