hide flavor image placeholders if disabled

This commit is contained in:
Andrew Dolgov 2015-05-09 07:04:06 +03:00
parent a9aba2447f
commit 026dc85826
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.fox.ttrss" package="org.fox.ttrss"
android:versionCode="324" android:versionCode="325"
android:versionName="1.98" > android:versionName="1.99" >
<uses-sdk <uses-sdk
android:minSdkVersion="15" android:minSdkVersion="15"

View File

@ -1008,6 +1008,8 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
holder.flavorImageHolder.setVisibility(View.GONE); holder.flavorImageHolder.setVisibility(View.GONE);
} }
} else if (holder.flavorImageHolder != null) {
holder.flavorImageHolder.setVisibility(View.GONE);
} }
/* if (holder.flavorImageView != null && showFlavorImage) { /* if (holder.flavorImageView != null && showFlavorImage) {