From 7eaa9552e69265033938a155eb66603552c1b037 Mon Sep 17 00:00:00 2001 From: 4gray Date: Sat, 28 Mar 2026 15:45:43 +0100 Subject: [PATCH] feat(playlists): remove unused removeAll$ effect and associated snackbar notification --- libs/m3u-state/src/lib/effects.ts | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/libs/m3u-state/src/lib/effects.ts b/libs/m3u-state/src/lib/effects.ts index 67412d3db..6778a79a8 100644 --- a/libs/m3u-state/src/lib/effects.ts +++ b/libs/m3u-state/src/lib/effects.ts @@ -348,25 +348,6 @@ export class PlaylistEffects { { dispatch: false } ); - removeAll$ = createEffect( - () => { - return this.actions$.pipe( - ofType(PlaylistActions.removeAllPlaylists), - switchMap(async () => { - await firstValueFrom(this.playlistsService.removeAll()); - this.snackBar.open( - this.translate.instant('SETTINGS.PLAYLISTS_REMOVED'), - undefined, - { - duration: 2000, - } - ); - }) - ); - }, - { dispatch: false } - ); - setAdjacentChannelAsActive$ = createEffect(() => { return this.actions$.pipe( ofType(ChannelActions.setAdjacentChannelAsActive),