mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +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);
|
ActivityKind activityKind = ActivityKind.fromCode(stats.activityIcon);
|
||||||
activityIconView.setImageResource(activityKind.getIcon());
|
activityIconView.setImageResource(activityKind.getIcon());
|
||||||
activityIconBigView.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);
|
activityKindView.setText(activityName);
|
||||||
|
Loading…
Reference in New Issue
Block a user