1
0
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:
José Rebelo 2024-10-13 08:59:46 +01:00
parent 427b7c7557
commit 92004ce4de

View File

@ -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);