fix crash in headlinesfragment b/c not checking whether flavor image exists

This commit is contained in:
Andrew Dolgov 2014-11-02 09:34:00 +03:00
parent eda03125d9
commit 1a401ae41e
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.fox.ttrss"
android:versionCode="258"
android:versionName="1.54" >
android:versionCode="259"
android:versionName="1.55" >
<uses-sdk
android:minSdkVersion="9"

View File

@ -905,7 +905,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
} else if (holder.flavorImageHolder != null) {
holder.flavorImageHolder.setVisibility(View.GONE);
}
} else {
} else if (holder.flavorImageHolder != null) {
holder.flavorImageHolder.setVisibility(View.GONE);
}