android-ibc-forum

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c8591c5b60c135000f69e0856b6f0e95dd01ee3f
parent ed0e049bbc51c98d0ffd7dca9d5978cf281ef991
Author: Jan Dankert <devnull@localhost>
Date:   Mon,  6 Feb 2012 09:24:32 +0100

Fix: Ungelesen-Status von Views wieder zur├╝cksetzen.

Diffstat:
src/de/mtbnews/android/adapter/ListEntryContentAdapter.java | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/de/mtbnews/android/adapter/ListEntryContentAdapter.java b/src/de/mtbnews/android/adapter/ListEntryContentAdapter.java @@ -128,9 +128,11 @@ public class ListEntryContentAdapter extends BaseAdapter else viewHolder.title.setEnabled(false); - if (e.isUnread() ) + if (e.isUnread()) viewHolder.title.setTypeface(null, Typeface.BOLD); - + else + viewHolder.title.setTypeface(null, Typeface.NORMAL); + if (e.getContent() != null) { SharedPreferences prefs = ((IBCApplication) ((Activity) mContext)