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

Commit 28f73186 authored by cketti's avatar cketti
Browse files

Remove unused parameter

parent 29a530a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -936,7 +936,7 @@ public class MessageCompose extends K9Activity implements OnClickListener,
        updateSignature();
        updateMessageFormat();
        replyToPresenter.setIdentity(identity);
        recipientPresenter.onSwitchIdentity(identity);
        recipientPresenter.onSwitchIdentity();
    }

    private void updateFrom() {
+1 −2
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@ import android.view.Menu
import androidx.core.content.ContextCompat
import androidx.loader.app.LoaderManager
import com.fsck.k9.Account
import com.fsck.k9.Identity
import com.fsck.k9.K9
import com.fsck.k9.activity.compose.ComposeCryptoStatus.AttachErrorState
import com.fsck.k9.activity.compose.ComposeCryptoStatus.SendErrorState
@@ -323,7 +322,7 @@ class RecipientPresenter(
        openPgpApiManager.setOpenPgpProvider(openPgpProvider, openPgpCallback)
    }

    fun onSwitchIdentity(identity: Identity) {
    fun onSwitchIdentity() {
        // TODO decide what actually to do on identity switch?
        asyncUpdateCryptoStatus()
    }