fix:blocking

This commit is contained in:
edideaur 2026-04-02 18:32:48 +00:00 committed by GitHub
parent bdde8fdb6a
commit a6082a5288
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1336,7 +1336,7 @@ export async function handleTrackAction(
// Individual Track Actions
// Check if track/artist is blocked
const { contentBlockingSettings } = await import('./storage.js');
if (type === 'track' && contentBlockingSettings.shouldHideTrack(item)) {
if (type === 'track' && action !== 'block-track' && contentBlockingSettings.shouldHideTrack(item)) {
showNotification('This track is blocked');
return;
}