mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-06 11:59:58 +02:00
check if activity is finishing before creating "one moment" dialog
This commit is contained in:
parent
5df2ba4325
commit
11addb6522
1 changed files with 1 additions and 0 deletions
|
@ -1099,6 +1099,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||||
boolean doSend = true;
|
boolean doSend = true;
|
||||||
if (recompress==DcMsg.DC_MSG_VIDEO) {
|
if (recompress==DcMsg.DC_MSG_VIDEO) {
|
||||||
Util.runOnMain(() -> {
|
Util.runOnMain(() -> {
|
||||||
|
if (isFinishing()) return;
|
||||||
progressDialog = ProgressDialog.show(
|
progressDialog = ProgressDialog.show(
|
||||||
ConversationActivity.this,
|
ConversationActivity.this,
|
||||||
"",
|
"",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue