mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-06 03:23:07 +02:00
+2
-2
@@ -178,8 +178,8 @@ public class AggregatedStatisticsAdapter extends BaseAdapter {
|
||||
}
|
||||
|
||||
private int getIcon(AggregatedStatistics.AggregatedStatistic aggregatedStatistic) {
|
||||
String iconValue = TrackIconUtils.getIconValue(context, aggregatedStatistic.getActivityType());
|
||||
return TrackIconUtils.getIconDrawable(iconValue);
|
||||
String iconValue = TrackIconUtils.getActivityTypeId(context, aggregatedStatistic.getActivityType());
|
||||
return TrackIconUtils.getIconDrawableId(iconValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user