1
0
mirror of https://framagit.org/tom79/mobilizon-android-app synced 2025-01-21 20:56:02 +01:00

add cancel button

This commit is contained in:
Thomas 2020-09-30 14:57:15 +02:00
parent 540e92f38e
commit 3f35f75020

View File

@ -263,8 +263,8 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
}).start());
//TODO: uncomment and add support for picking instances when available
/*alt_bld.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss());
alt_bld.setNeutralButton(R.string.help, (dialog, which) -> {
alt_bld.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss());
/*alt_bld.setNeutralButton(R.string.help, (dialog, which) -> {
startActivityForResult(intent, PICK_INSTANCE);
});*/
AlertDialog alert = alt_bld.create();