Add close button to instances picker
This commit is contained in:
parent
94b969c428
commit
124e0d8505
|
@ -245,6 +245,7 @@ public class MainActivity extends AppCompatActivity {
|
||||||
dialog.dismiss();
|
dialog.dismiss();
|
||||||
recreate();
|
recreate();
|
||||||
});
|
});
|
||||||
|
alt_bld.setPositiveButton(R.string.close, (dialog, id) -> dialog.dismiss());
|
||||||
AlertDialog alert = alt_bld.create();
|
AlertDialog alert = alt_bld.create();
|
||||||
alert.show();
|
alert.show();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue