flavor images: fix progress bar never hiding

This commit is contained in:
Andrew Dolgov 2015-04-29 21:17:09 +03:00
parent ef357ac421
commit a9aba2447f
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<?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="323" android:versionCode="324"
android:versionName="1.98" > android:versionName="1.98" >
<uses-sdk <uses-sdk

View File

@ -998,9 +998,11 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
} }
}); });
} else{
article.noValidFlavorImage = true;
holder.flavorImageHolder.setVisibility(View.GONE);
} }
} else { } else {
article.noValidFlavorImage = true; article.noValidFlavorImage = true;
holder.flavorImageHolder.setVisibility(View.GONE); holder.flavorImageHolder.setVisibility(View.GONE);