1
0
mirror of https://framagit.org/tom79/mobilizon-android-app synced 2025-06-05 21:59:22 +02: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()); }).start());
//TODO: uncomment and add support for picking instances when available //TODO: uncomment and add support for picking instances when available
/*alt_bld.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss()); alt_bld.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss());
alt_bld.setNeutralButton(R.string.help, (dialog, which) -> { /*alt_bld.setNeutralButton(R.string.help, (dialog, which) -> {
startActivityForResult(intent, PICK_INSTANCE); startActivityForResult(intent, PICK_INSTANCE);
});*/ });*/
AlertDialog alert = alt_bld.create(); AlertDialog alert = alt_bld.create();