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

Unverified Commit 73ea2306 authored by Wolf-Martell Montwé's avatar Wolf-Martell Montwé
Browse files

Remove unused `outboxFolderName` from `CoreResourceProvider`

parent ea8103b5
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -68,10 +68,6 @@ class FakeCoreResourceProvider : CoreResourceProvider {
        throw UnsupportedOperationException("not implemented")
    }

    override fun outboxFolderName(): String {
        throw UnsupportedOperationException("not implemented")
    }

    override val iconPushNotification: Int
        get() = throw UnsupportedOperationException("not implemented")

+0 −2
Original line number Diff line number Diff line
@@ -38,8 +38,6 @@ class K9CoreResourceProvider(
    override fun searchUnifiedInboxTitle(): String = context.getString(R.string.integrated_inbox_title)
    override fun searchUnifiedInboxDetail(): String = context.getString(R.string.integrated_inbox_detail)

    override fun outboxFolderName(): String = context.getString(R.string.special_mailbox_name_outbox)

    override val iconPushNotification: Int = Icons.Outlined.Notifications

    override fun pushNotificationText(notificationState: PushNotificationState): String {
+0 −2
Original line number Diff line number Diff line
@@ -26,8 +26,6 @@ interface CoreResourceProvider {
    fun searchUnifiedInboxTitle(): String
    fun searchUnifiedInboxDetail(): String

    fun outboxFolderName(): String

    val iconPushNotification: Int
    fun pushNotificationText(notificationState: PushNotificationState): String
    fun pushNotificationInfoText(): String
+0 −2
Original line number Diff line number Diff line
@@ -28,8 +28,6 @@ class TestCoreResourceProvider : CoreResourceProvider {
    override fun searchUnifiedInboxTitle() = "Unified Inbox"
    override fun searchUnifiedInboxDetail() = "All messages in unified folders"

    override fun outboxFolderName() = "Outbox"

    override val iconPushNotification: Int
        get() = throw UnsupportedOperationException("not implemented")

+0 −2
Original line number Diff line number Diff line
@@ -28,8 +28,6 @@ class TestCoreResourceProvider : CoreResourceProvider {
    override fun searchUnifiedInboxTitle() = throw UnsupportedOperationException("not implemented")
    override fun searchUnifiedInboxDetail() = throw UnsupportedOperationException("not implemented")

    override fun outboxFolderName() = throw UnsupportedOperationException("not implemented")

    override val iconPushNotification: Int
        get() = throw UnsupportedOperationException("not implemented")