Skip to content

Commit

Permalink
Check for and clear quote on new intent.
Browse files Browse the repository at this point in the history
Fixes #9478
  • Loading branch information
alan-signal authored and greyson-signal committed Mar 26, 2020
1 parent 19377c2 commit da11b56
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,10 @@ protected void onNewIntent(Intent intent) {
return;
}

if (!Util.isEmpty(composeText) || attachmentManager.isAttachmentPresent()) {
if (!Util.isEmpty(composeText) || attachmentManager.isAttachmentPresent() || inputPanel.getQuote().isPresent()) {
saveDraft();
attachmentManager.clear(glideRequests, false);
inputPanel.clearQuote();
silentlySetComposeText("");
}

Expand Down

0 comments on commit da11b56

Please sign in to comment.