Compare commits

...

2 commits

Author SHA1 Message Date
7184e752c2 fix(ags player): fix track title not updating 2023-10-02 17:35:48 -04:00
b220ff889c chore: update flake.lock 2023-10-02 17:35:26 -04:00
2 changed files with 2 additions and 4 deletions

View file

@ -62,7 +62,7 @@ export const TitleLabel = (player, params) => Label({
truncate: 'end',
justification: 'left',
className: 'title',
binds: [['label', player, 'trackTitle']],
binds: [['label', player, 'track-title']],
});
export const ArtistLabel = (player, params) => Label({
@ -72,9 +72,7 @@ export const ArtistLabel = (player, params) => Label({
truncate: 'end',
justification: 'left',
className: 'artist',
connections: [[player, label => {
label.label = player.trackArtists.join(', ') || '';
}]],
binds: [['label', player, 'track-artists', a => a.join(', ') || '']],
});
export const PlayerIcon = (player, { symbolic = true, ...params } = {}) => {

Binary file not shown.