aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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){