mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-27 12:26:48 +01:00
Fix activity icon after filter reset
This commit is contained in:
parent
427b7c7557
commit
92004ce4de
@ -290,6 +290,9 @@ public class ActivitySummariesAdapter extends AbstractActivityListingAdapter<Bas
|
||||
ActivityKind activityKind = ActivityKind.fromCode(stats.activityIcon);
|
||||
activityIconView.setImageResource(activityKind.getIcon());
|
||||
activityIconBigView.setImageResource(activityKind.getIcon());
|
||||
} else {
|
||||
activityIconView.setImageResource(R.drawable.ic_activity_unknown_small);
|
||||
activityIconBigView.setImageResource(R.drawable.ic_activity_unknown_small);
|
||||
}
|
||||
|
||||
activityKindView.setText(activityName);
|
||||
|
Loading…
Reference in New Issue
Block a user