mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Rename to ask to skip
This commit is contained in:
parent
0008f89267
commit
198d4b157c
3 changed files with 3 additions and 3 deletions
|
@ -3,6 +3,6 @@
|
|||
*/
|
||||
export enum MediaSegmentAction {
|
||||
None = 'None',
|
||||
PromptToSkip = 'PromptToSkip',
|
||||
AskToSkip = 'AskToSkip',
|
||||
Skip = 'Skip'
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ class MediaSegmentManager extends PlaybackSubscriber {
|
|||
const action = this.mediaSegmentTypeActions[mediaSegment.Type];
|
||||
if (action === MediaSegmentAction.Skip) {
|
||||
this.skipSegment(mediaSegment);
|
||||
} else if (action === MediaSegmentAction.PromptToSkip) {
|
||||
} else if (action === MediaSegmentAction.AskToSkip) {
|
||||
this.promptToSkip(mediaSegment);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue