fix offline crash when browsing category as feed

This commit is contained in:
Andrew Dolgov 2012-06-22 18:05:08 +04:00
parent 7ee1becd6c
commit 714efd1ed0
2 changed files with 2 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="76" android:versionCode="77"
android:versionName="0.6.2" > android:versionName="0.6.2" >
<uses-sdk android:minSdkVersion="8" /> <uses-sdk android:minSdkVersion="8" />

View File

@ -325,7 +325,7 @@ public class OfflineHeadlinesFragment extends Fragment implements OnItemClickLis
} else { } else {
ft.setVisibility(View.GONE); ft.setVisibility(View.GONE);
} }
} else { } else if (ft != null) {
ft.setVisibility(View.GONE); ft.setVisibility(View.GONE);
} }