$Message
This commit is contained in:
@@ -36,6 +36,7 @@ import {
|
||||
clearQueue,
|
||||
toggleShuffle,
|
||||
toggleLoop,
|
||||
setExploration,
|
||||
type QueueEntry,
|
||||
} from '../../store/slices/queue';
|
||||
import { toggleQueue } from '../../store/slices/player';
|
||||
@@ -148,7 +149,8 @@ export function QueuePanel() {
|
||||
min={0}
|
||||
max={100}
|
||||
step={1}
|
||||
defaultValue={[42]}
|
||||
value={[Math.round((queue.radio?.exploration ?? 0.25) * 100)]}
|
||||
onValueChange={([v]) => dispatch(setExploration(v / 100))}
|
||||
aria-label="Exploration"
|
||||
/>
|
||||
<span className="lab">{t('queue.new')}</span>
|
||||
@@ -277,6 +279,14 @@ function QueueRow({
|
||||
className="r"
|
||||
text={resolved?.artistName ?? entry.artistName}
|
||||
/>
|
||||
{entry.reason && (
|
||||
<span
|
||||
style={{ fontSize: 11, color: 'var(--color-accent)' }}
|
||||
title={t('queue.whyPlaying')}
|
||||
>
|
||||
{t(`queue.reason.${entry.reason}`)}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
<Menu>
|
||||
<MenuTrigger asChild>
|
||||
|
||||
Reference in New Issue
Block a user