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/build.gradle | 4 ++-- app/src/main/java/org/bienvenidoainternet/app/ThreadListAdapter.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/build.gradle b/app/build.gradle index 5c1fd1b..59395ea 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "org.bienvenidoainternet.baiparser" minSdkVersion 15 targetSdkVersion 23 - versionCode 9 - versionName "1.7" + versionCode 10 + versionName "1.7.1" } buildTypes { release { 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