diff options
author | Andrew Dolgov <[email protected]> | 2017-06-07 08:42:33 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-06-07 08:42:33 +0300 |
commit | 7bdfe419aaa366402ca31c9cfb5b13e19af62b83 (patch) | |
tree | 788555b2039f8b08ca8fa62edc1b5a868ce66503 | |
parent | d5871ce245413045d1ab8d005fbe776a25f6eba4 (diff) |
fix getSwipeDirs working incorrectly, d uh
-rwxr-xr-x | org.fox.ttrss/src/main/AndroidManifest.xml | 4 | ||||
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/org.fox.ttrss/src/main/AndroidManifest.xml b/org.fox.ttrss/src/main/AndroidManifest.xml index abe178bd..37fdb7dc 100755 --- a/org.fox.ttrss/src/main/AndroidManifest.xml +++ b/org.fox.ttrss/src/main/AndroidManifest.xml @@ -2,8 +2,8 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="org.fox.ttrss" - android:versionCode="445" - android:versionName="1.211"> + android:versionCode="446" + android:versionName="1.212"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java index 057fa6a7..6071b72c 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java @@ -363,7 +363,7 @@ public class HeadlinesFragment extends Fragment { Article article = getArticleAtPosition(position); - if (article == null && article.id > 0) + if (article == null || article.id < 0) return 0; return super.getSwipeDirs(recyclerView, viewHolder); |