pref: 优化收藏中被屏蔽贴的展示
This commit is contained in:
parent
a34cd9d8d4
commit
c6c1ac90ff
|
|
@ -47,7 +47,8 @@ public class ThreadStoreAdapter extends CommonBaseAdapter<ThreadStoreBean.Thread
|
||||||
StringUtil.getAvatarUrl(threadStoreInfo.getAuthor().getUserPortrait())
|
StringUtil.getAvatarUrl(threadStoreInfo.getAuthor().getUserPortrait())
|
||||||
);
|
);
|
||||||
SpannableStringBuilder builder = new SpannableStringBuilder();
|
SpannableStringBuilder builder = new SpannableStringBuilder();
|
||||||
if (!TextUtils.equals(threadStoreInfo.getCount(), "0")) {
|
if (!TextUtils.equals(threadStoreInfo.getCount(), "0") &&
|
||||||
|
!TextUtils.equals(threadStoreInfo.getPostNo(), "0")) {
|
||||||
builder.append(mContext.getString(R.string.tip_thread_store_update, threadStoreInfo.getPostNo()),
|
builder.append(mContext.getString(R.string.tip_thread_store_update, threadStoreInfo.getPostNo()),
|
||||||
new RoundBackgroundColorSpan(mContext, alphaColor(ThemeUtils.getColorByAttr(mContext, R.attr.colorAccent), 30),
|
new RoundBackgroundColorSpan(mContext, alphaColor(ThemeUtils.getColorByAttr(mContext, R.attr.colorAccent), 30),
|
||||||
ThemeUtils.getColorByAttr(mContext, R.attr.colorAccent),
|
ThemeUtils.getColorByAttr(mContext, R.attr.colorAccent),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue