feat(playlists): remove unused removeAll$ effect and associated snackbar notification

This commit is contained in:
4gray committed 2026-03-28 15:45:43 +01:00
1 parent 3b617b9515
commit 7eaa9552e6
1 file changed
-19
-19
View File
@@ -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),