Fix dashboard fav color

This commit is contained in:
Dima-1 2020-05-25 12:09:10 +03:00
parent 8c2dc90767
commit 4c4751683d

View file

@ -143,7 +143,7 @@ public class DashFavoritesFragment extends DashLocationFragment {
} }
((ImageView) view.findViewById(R.id.favourite_icon)).setImageDrawable(FavoriteImageDrawable.getOrCreate( ((ImageView) view.findViewById(R.id.favourite_icon)).setImageDrawable(FavoriteImageDrawable.getOrCreate(
getActivity(), point.getColor(), false, point)); getActivity(), app.getFavorites().getColorWithCategory(point, getResources().getColor(R.color.color_favorite)), false, point));
DashLocationView dv = new DashLocationView(direction, label, new LatLon(point.getLatitude(), DashLocationView dv = new DashLocationView(direction, label, new LatLon(point.getLatitude(),
point.getLongitude())); point.getLongitude()));
distances.add(dv); distances.add(dv);