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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user