diff options
Diffstat (limited to 'src/render/SkipNotice.tsx')
-rw-r--r-- | src/render/SkipNotice.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/render/SkipNotice.tsx b/src/render/SkipNotice.tsx index 2fd73a8b..ae1b4f67 100644 --- a/src/render/SkipNotice.tsx +++ b/src/render/SkipNotice.tsx @@ -17,7 +17,7 @@ class SkipNotice { skipNoticeRef: React.MutableRefObject<SkipNoticeComponent>; - constructor(segments: SponsorTime[], autoSkip = false, contentContainer: ContentContainer) { + constructor(segments: SponsorTime[], autoSkip = false, contentContainer: ContentContainer, unskipTime: number = null) { this.skipNoticeRef = React.createRef(); this.segments = segments; @@ -45,7 +45,8 @@ class SkipNotice { contentContainer={contentContainer} ref={this.skipNoticeRef} closeListener={() => this.close()} - smaller={true} />, + smaller={true} + unskipTime={unskipTime} />, this.noticeElement ); } |