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

Commit b2ed230b authored by cketti's avatar cketti Committed by GitHub
Browse files

Merge pull request #1880 from philipwhiuk/fixMessageComposeUpgrade

Check recipientPresenter exists before destroying it

Fixes #1876
parents 217b5bf9 36da79d6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -533,6 +533,7 @@ public class MessageCompose extends K9Activity implements OnClickListener,
    public void onDestroy() {
        super.onDestroy();

        if (recipientPresenter != null)
            recipientPresenter.onActivityDestroy();
    }