aboutsummaryrefslogtreecommitdiff
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
parent80e5af1875f79038c4d938d190fcfbc68099ae7c (diff)
downloadBaiApp-1.7.1.tar.gz
BaiApp-1.7.1.tar.xz
BaiApp-1.7.1.zip
quotes crash temp fixv1.7.1
-rw-r--r--.idea/misc.xml2
-rw-r--r--app/build.gradle4
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/ThreadListAdapter.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/.idea/misc.xml b/.idea/misc.xml
index fbb6828..5d19981 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -37,7 +37,7 @@
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
- <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
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){