Change boost icon

This commit is contained in:
tom79 2019-09-27 18:03:49 +02:00
parent c246982ff7
commit fd75e7abc8
2 changed files with 4 additions and 4 deletions

View File

@ -318,8 +318,8 @@ public class PixelfedListAdapter extends RecyclerView.Adapter implements OnPostA
holder.pf_fav.setColors(R.color.pixelfed_like, R.color.pixelfed_like);
holder.pf_share.pressOnTouch(false);
holder.pf_share.setActiveImage(R.drawable.ic_pixelfed_share);
holder.pf_share.setInactiveImage(R.drawable.ic_pixelfed_share);
holder.pf_share.setActiveImage(R.drawable.ic_repeat_boost);
holder.pf_share.setInactiveImage(R.drawable.ic_repeat_boost);
holder.pf_share.setDisableCircle(true);
holder.pf_share.setActiveImageTint(R.color.boost_icon);
holder.pf_share.setColors(R.color.boost_icon, R.color.boost_icon);

View File

@ -96,8 +96,8 @@
android:layout_marginStart="15dp"
android:layout_marginLeft="15dp"
android:id="@+id/pf_share"
app:sparkbutton_activeImage="@drawable/ic_pixelfed_share"
app:sparkbutton_inActiveImage="@drawable/ic_pixelfed_share"
app:sparkbutton_activeImage="@drawable/ic_repeat_boost"
app:sparkbutton_inActiveImage="@drawable/ic_repeat"
android:contentDescription="@string/share"
android:layout_width="30dp"
android:layout_height="30dp"