Fix sendComplete UI updates on destroyed views

Fixes #2915
Closes #2924

// FREEBIE
pull/1/head
Jake McGinty 10 years ago committed by Moxie Marlinspike
parent b692d48b98
commit 1f9a0fab3c

@ -974,7 +974,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
boolean refreshFragment = (threadId != this.threadId);
this.threadId = threadId;
if (fragment == null) {
if (fragment == null || !fragment.isVisible() || isFinishing()) {
return;
}

Loading…
Cancel
Save