refactored some code

This commit is contained in:
Chumva 2018-03-02 17:12:42 +02:00
parent 8cd25174b6
commit 6c0aec20eb

View file

@ -182,7 +182,7 @@ public class WikipediaDialogFragment extends DialogFragment {
@Override
public void onClick(View view) {
String article = "https://" + langSelected.toLowerCase() + ".wikipedia.org/wiki/" + title.replace(' ', '_');
showFullArticle(view.getContext(), darkMode, Uri.parse(article));
showFullArticle(getContext(), darkMode, Uri.parse(article));
}
});