now we check link for wikipedia
This commit is contained in:
parent
da60b8ef7d
commit
92841cb6f9
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ public class AmenityMenuBuilder extends MenuBuilder {
|
|||
ll.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if (text.contains("wikipedia.org")) {
|
||||
if (text.contains(".wikipedia.org/wiki/")) {
|
||||
WikipediaDialogFragment.showFullArticle(v.getContext(), Uri.parse(text), !light);
|
||||
} else {
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||
|
|
Loading…
Reference in a new issue