kopia lustrzana https://github.com/ryukoposting/Signal-Android
clear the current text box when deleting a draft-only thread.
otherwise the draft will be immediately re-saved (preventing thread deletion). // FREEBIE Closes #2474 Fixes #2473fork-5.53.8
rodzic
224b06f05a
commit
7ab739b22b
|
@ -535,6 +535,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||
public void onClick(DialogInterface dialog, int which) {
|
||||
if (threadId > 0) {
|
||||
DatabaseFactory.getThreadDatabase(ConversationActivity.this).deleteConversation(threadId);
|
||||
composeText.getText().clear();
|
||||
threadId = -1;
|
||||
finish();
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue