Skip to content

Commit d2e7652

Browse files
authored
#3661 No Depictions Selected Dialog has reversed buttons - fix button order (#3662)
1 parent 92d6848 commit d2e7652

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

app/src/main/java/fr/free/nrw/commons/upload/depicts/DepictsFragment.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,13 @@ public void goToPreviousScreen() {
103103
@Override
104104
public void noDepictionSelected() {
105105
DialogUtil.showAlertDialog(getActivity(),
106-
getString(R.string.no_depictions_selected),
107-
getString(R.string.no_depictions_selected_warning_desc),
108-
getString(R.string.no_go_back),
109-
getString(R.string.yes_submit),
110-
null,
111-
() -> goToNextScreen());
106+
getString(R.string.no_depictions_selected),
107+
getString(R.string.no_depictions_selected_warning_desc),
108+
getString(R.string.yes_submit),
109+
getString(R.string.no_go_back),
110+
this::goToNextScreen,
111+
null
112+
);
112113
}
113114

114115
@Override

0 commit comments

Comments
 (0)