fix getSwipeDirs working incorrectly, d uh
This commit is contained in:
parent
d5871ce245
commit
7bdfe419aa
@ -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" />
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user