finish ConversationActivity on delete of empty thread
Fixes #3086 Closes #3124 // FREEBIE
This commit is contained in:
parent
75edb8c12c
commit
b6e241b0dc
1 changed files with 3 additions and 3 deletions
|
@ -504,10 +504,10 @@ 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();
|
||||
}
|
||||
composeText.getText().clear();
|
||||
threadId = -1;
|
||||
finish();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue