Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit a6f6c14

Browse files
committed
Adapter: Always bold text for title
Signed-off-by: Fung <fython@163.com>
1 parent 554bee1 commit a6f6c14

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

mobile/src/main/java/info/papdt/express/helper/ui/adapter/HomePackageListAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void onBindViewHolder(MyViewHolder holder, int position) {
9292

9393
/** Set bold text when unread */
9494
holder.descText.getPaint().setFakeBoldText(p.unreadNew);
95-
holder.titleText.getPaint().setFakeBoldText(p.unreadNew);
95+
holder.titleText.getPaint().setFakeBoldText(true);
9696

9797
/** Set CircleImageView */
9898
if (p.name.length() > 0){

mobile/src/main/java/info/papdt/express/helper/ui/fragment/home/BaseFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public class RefreshTask extends AsyncTask<Void, Void, Void> {
187187

188188
@Override
189189
protected Void doInBackground(Void... voids) {
190-
mDatabase.pullDataFromNetwork(true);
190+
mDatabase.pullDataFromNetwork(false);
191191
return null;
192192
}
193193

0 commit comments

Comments
 (0)