make attachments dialog cancelable
This commit is contained in:
parent
4c06143b5a
commit
9149add751
@ -650,6 +650,7 @@ public class OnlineActivity extends CommonActivity {
|
|||||||
Dialog dialog = new Dialog(OnlineActivity.this);
|
Dialog dialog = new Dialog(OnlineActivity.this);
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(OnlineActivity.this)
|
AlertDialog.Builder builder = new AlertDialog.Builder(OnlineActivity.this)
|
||||||
.setTitle(R.string.attachments_prompt)
|
.setTitle(R.string.attachments_prompt)
|
||||||
|
.setCancelable(true)
|
||||||
.setSingleChoiceItems(items, 0, new OnClickListener() {
|
.setSingleChoiceItems(items, 0, new OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
|
Loading…
Reference in New Issue
Block a user