mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-24 16:02:13 +01:00
Merge pull request #4233 from ByteHamster/increase-contrast
Increase contrast of played items
This commit is contained in:
commit
f48c75aa83
@ -102,7 +102,7 @@ public class EpisodeItemViewHolder extends RecyclerView.ViewHolder {
|
||||
isNew.setVisibility(item.isNew() ? View.VISIBLE : View.GONE);
|
||||
isFavorite.setVisibility(item.isTagged(FeedItem.TAG_FAVORITE) ? View.VISIBLE : View.GONE);
|
||||
isInQueue.setVisibility(item.isTagged(FeedItem.TAG_QUEUE) ? View.VISIBLE : View.GONE);
|
||||
itemView.setAlpha(item.isPlayed() ? 0.6f : 1.0f);
|
||||
itemView.setAlpha(item.isPlayed() ? 0.5f : 1.0f);
|
||||
|
||||
ItemActionButton actionButton = ItemActionButton.forItem(item, true, true);
|
||||
actionButton.configure(secondaryActionButton, secondaryActionIcon, activity);
|
||||
|
Loading…
Reference in New Issue
Block a user