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:
parent
540e92f38e
commit
3f35f75020
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user