Skip to content

Commit 882a6ec

Browse files
committed
issue-commons-app#3606: cancel in translate goes back to about screen
1 parent b085091 commit 882a6ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/AboutActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public void launchTranslate(View view) {
152152
String langCode = CommonsApplication.getInstance().getLanguageLookUpTable().getCodes().get(spinner.getSelectedItemPosition());
153153
Utils.handleWebUrl(AboutActivity.this, Uri.parse(Urls.TRANSLATE_WIKI_URL + langCode));
154154
});
155-
builder.setNegativeButton(R.string.about_translate_cancel, (dialog, which) -> finish());
155+
builder.setNegativeButton(R.string.about_translate_cancel, (dialog, which) -> dialog.cancel());
156156
builder.create().show();
157157

158158
}

0 commit comments

Comments
 (0)