mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
fix(stalker): address radio review feedback
Entire-Checkpoint: f957cd9849e0
This commit is contained in:
1 parent
ab905af285
commit
0d93301520
2 files changed
+6
-5
No files matched your search
@@ -11,11 +11,12 @@ import { NavigationEnd, Router } from '@angular/router';
|
||||
import { filter, firstValueFrom } from 'rxjs';
|
||||
import { PlaylistContextFacade } from '@iptvnator/playlist/shared/util';
|
||||
import { PortalRailSection } from '@iptvnator/portal/shared/util';
|
||||
import { StalkerStore } from '@iptvnator/portal/stalker/data-access';
|
||||
import {
|
||||
StalkerContentType,
|
||||
StalkerStore,
|
||||
} from '@iptvnator/portal/stalker/data-access';
|
||||
import { PlaylistsService } from 'services';
|
||||
|
||||
type StalkerContentType = 'vod' | 'series' | 'itv' | 'radio';
|
||||
|
||||
@Injectable()
|
||||
export class StalkerWorkspaceRouteSession {
|
||||
private readonly destroyRef = inject(DestroyRef);
|
||||
|
||||
@@ -241,12 +241,12 @@ export class AudioPlayerComponent {
|
||||
}
|
||||
|
||||
switchChannel(direction: 'next' | 'previous') {
|
||||
this.channelSwitchRequested.emit(direction);
|
||||
|
||||
if (this.dispatchAdjacentChannelAction()) {
|
||||
this.store.dispatch(
|
||||
ChannelActions.setAdjacentChannelAsActive({ direction })
|
||||
);
|
||||
} else {
|
||||
this.channelSwitchRequested.emit(direction);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user