aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorLibravatar Renard 2016-04-27 22:05:18 -0300
committerLibravatar Renard 2016-04-27 22:05:18 -0300
commit03b67d0845e0445920d84b77f1b66162acca1490 (patch)
tree4789f80cf5eb367bbbed9e0a0e264b93d622965b /app
parent80e5af1875f79038c4d938d190fcfbc68099ae7c (diff)
downloadBaiApp-03b67d0845e0445920d84b77f1b66162acca1490.tar.gz
BaiApp-03b67d0845e0445920d84b77f1b66162acca1490.tar.xz
BaiApp-03b67d0845e0445920d84b77f1b66162acca1490.zip
quotes crash temp fixv1.7.1
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle4
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/ThreadListAdapter.java2
2 files changed, 3 insertions, 3 deletions
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<BoardItem>{
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){