|
|
|
@ -504,11 +504,11 @@ 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();
|
|
|
|
composeText.getText().clear();
|
|
|
|
threadId = -1;
|
|
|
|
threadId = -1;
|
|
|
|
finish();
|
|
|
|
finish();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
builder.setNegativeButton(R.string.no, null);
|
|
|
|
builder.setNegativeButton(R.string.no, null);
|
|
|
|
|