mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Change message
This commit is contained in:
parent
60da5dc37a
commit
a4db41b4ed
1 changed files with 3 additions and 3 deletions
|
|
@ -526,15 +526,15 @@ public class CategorizationFragment extends Fragment {
|
||||||
if (numberSelected == 0) {
|
if (numberSelected == 0) {
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
|
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
|
||||||
|
|
||||||
builder.setMessage("Are you sure you want to proceed without selecting categories? Images without categories are rarely usable.")
|
builder.setMessage("Images without categories are rarely usable. Are you sure you want to submit without selecting categories?")
|
||||||
.setTitle("No Categories Selected");
|
.setTitle("No Categories Selected");
|
||||||
builder.setPositiveButton("No", new DialogInterface.OnClickListener() {
|
builder.setPositiveButton("No, go back", new DialogInterface.OnClickListener() {
|
||||||
public void onClick(DialogInterface dialog, int id) {
|
public void onClick(DialogInterface dialog, int id) {
|
||||||
//Exit menuItem so user can select their categories
|
//Exit menuItem so user can select their categories
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
builder.setNegativeButton("Yes", new DialogInterface.OnClickListener() {
|
builder.setNegativeButton("Yes, submit", new DialogInterface.OnClickListener() {
|
||||||
public void onClick(DialogInterface dialog, int id) {
|
public void onClick(DialogInterface dialog, int id) {
|
||||||
//Proceed to submission
|
//Proceed to submission
|
||||||
onCategoriesSaveHandler.onCategoriesSave(finalCategories);
|
onCategoriesSaveHandler.onCategoriesSave(finalCategories);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue