style(ui): update station card stroke color during reordering and remove play button constraint

This commit is contained in:
2026-04-18 16:31:25 +02:00
parent dfbbd8da33
commit cc0b284a7f
@@ -190,8 +190,6 @@ class CollectionAdapter(
setPlaybackProgress(stationViewHolder, station) setPlaybackProgress(stationViewHolder, station)
setDownloadProgress(stationViewHolder, station) setDownloadProgress(stationViewHolder, station)
stationViewHolder.playButtonView.isGone = true
// highlight if reordering // highlight if reordering
if (reorderStationUuid == station.uuid) { if (reorderStationUuid == station.uuid) {
stationViewHolder.stationCardView.setStrokeColor( stationViewHolder.stationCardView.setStrokeColor(
@@ -199,6 +197,12 @@ class CollectionAdapter(
ContextCompat.getColor(context, R.color.cardview_reordering) ContextCompat.getColor(context, R.color.cardview_reordering)
) )
) )
} else {
stationViewHolder.stationCardView.setStrokeColor(
ColorStateList.valueOf(
ContextCompat.getColor(context, R.color.list_card_stroke_background)
)
)
} }
// show / hide edit views // show / hide edit views