From 03b67d0845e0445920d84b77f1b66162acca1490 Mon Sep 17 00:00:00 2001 From: Renard Date: Wed, 27 Apr 2016 22:05:18 -0300 Subject: quotes crash temp fix --- app/src/main/java/org/bienvenidoainternet/app/ThreadListAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main') diff --git a/app/src/main/java/org/bienvenidoainternet/app/ThreadListAdapter.java b/app/src/main/java/org/bienvenidoainternet/app/ThreadListAdapter.java index b3870eb..d5f8a71 100644 --- a/app/src/main/java/org/bienvenidoainternet/app/ThreadListAdapter.java +++ b/app/src/main/java/org/bienvenidoainternet/app/ThreadListAdapter.java @@ -314,7 +314,7 @@ public class ThreadListAdapter extends ArrayAdapter{ if (link.length != 0) { if (link[0] instanceof URLSpan){ URLSpan uspan = (URLSpan) link[0]; - if (uspan.getURL().contains("/read/") && !uspan.getURL().contains("http")){ + if ((uspan.getURL().contains("/read/") || uspan.getURL().contains("/res/")) && !uspan.getURL().contains("http")){ String url = uspan.getURL(); String[] parts = url.split("/"); if (parts.length == 4 && listThreads){ -- cgit v1.2.1-18-gbd029