fix crash when loading more headlines
This commit is contained in:
parent
8872cc12eb
commit
e8d4f7024c
@ -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="172"
|
android:versionCode="173"
|
||||||
android:versionName="1.7.9" >
|
android:versionName="1.7.10" >
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="8"
|
android:minSdkVersion="8"
|
||||||
|
@ -679,11 +679,12 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
|||||||
|
|
||||||
TextView author = (TextView)v.findViewById(R.id.author);
|
TextView author = (TextView)v.findViewById(R.id.author);
|
||||||
|
|
||||||
if (author != null && articleAuthor.length() > 0) {
|
if (author != null)
|
||||||
author.setText(getString(R.string.author_formatted, articleAuthor));
|
if (articleAuthor.length() > 0) {
|
||||||
} else {
|
author.setText(getString(R.string.author_formatted, articleAuthor));
|
||||||
author.setText("");
|
} else {
|
||||||
}
|
author.setText("");
|
||||||
|
}
|
||||||
|
|
||||||
/* ImageView separator = (ImageView)v.findViewById(R.id.headlines_separator);
|
/* ImageView separator = (ImageView)v.findViewById(R.id.headlines_separator);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user