mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
finish ConversationActivity on delete of empty thread
Fixes #3086 Closes #3124 // FREEBIE
This commit is contained in:
parent
75edb8c12c
commit
b6e241b0dc
@ -504,10 +504,10 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
if (threadId > 0) {
|
if (threadId > 0) {
|
||||||
DatabaseFactory.getThreadDatabase(ConversationActivity.this).deleteConversation(threadId);
|
DatabaseFactory.getThreadDatabase(ConversationActivity.this).deleteConversation(threadId);
|
||||||
composeText.getText().clear();
|
|
||||||
threadId = -1;
|
|
||||||
finish();
|
|
||||||
}
|
}
|
||||||
|
composeText.getText().clear();
|
||||||
|
threadId = -1;
|
||||||
|
finish();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user