issue-#3606: cancel in translate goes back to about screen (#3610)

This commit is contained in:
Prince Amankwah 2020-03-31 10:56:59 +02:00 committed by GitHub
parent 4f5f0da4c6
commit f0a37d3369
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ public class AboutActivity extends NavigationBaseActivity {
String langCode = CommonsApplication.getInstance().getLanguageLookUpTable().getCodes().get(spinner.getSelectedItemPosition());
Utils.handleWebUrl(AboutActivity.this, Uri.parse(Urls.TRANSLATE_WIKI_URL + langCode));
});
builder.setNegativeButton(R.string.about_translate_cancel, (dialog, which) -> finish());
builder.setNegativeButton(R.string.about_translate_cancel, (dialog, which) -> dialog.cancel());
builder.create().show();
}