refactored some code
This commit is contained in:
parent
8cd25174b6
commit
6c0aec20eb
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue