mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-06 03:49:58 +02:00
avoid NPE in processComposeControls
This commit is contained in:
parent
e6988e3f61
commit
1663502d35
1 changed files with 1 additions and 1 deletions
|
@ -1111,7 +1111,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||
doSend = VideoRecoder.prepareVideo(ConversationActivity.this, dcChat.getId(), msg);
|
||||
Util.runOnMain(() -> {
|
||||
try {
|
||||
progressDialog.dismiss();
|
||||
if (progressDialog != null) progressDialog.dismiss();
|
||||
} catch (final IllegalArgumentException e) {
|
||||
// The activity is finishing/destroyed, do nothing.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue