Add explicit flag to tracks and mark it on upload
This commit is contained in:
Vendored
+267
-259
File diff suppressed because it is too large
Load Diff
@@ -61,6 +61,7 @@
|
||||
title={player.current.title}
|
||||
artist={player.current.artist || '—'}
|
||||
ownerUserId={player.current.ownerUserId}
|
||||
explicit={player.current.explicit}
|
||||
active
|
||||
/>
|
||||
</div>
|
||||
@@ -123,6 +124,7 @@
|
||||
title={track.title}
|
||||
subtitle={track.artist || '—'}
|
||||
subtitleHref={track.ownerUserId}
|
||||
explicit={track.explicit}
|
||||
trackId={track.id}
|
||||
class="p-2"
|
||||
>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</script>
|
||||
|
||||
<span
|
||||
class="grid size-4 shrink-0 place-items-center rounded-tag bg-fg-2 text-xs leading-4 font-semibold text-bg {klass}"
|
||||
class="grid size-4 shrink-0 place-items-center rounded-tag border border-accent/30 bg-accent-tint pt-px text-xs leading-none font-normal text-accent-soft {klass}"
|
||||
title="Contenido explícito"
|
||||
aria-label="Contenido explícito">E</span
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user