Add close button to instances picker

This commit is contained in:
Thomas 2020-09-12 18:10:52 +02:00
parent 94b969c428
commit 124e0d8505
1 changed files with 1 additions and 0 deletions

View File

@ -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();
} }