From 116190f2b34b2df54b1a9038e0e087c7302d1e45 Mon Sep 17 00:00:00 2001 From: Ajay Date: Sun, 23 Jun 2024 00:31:11 +0530 Subject: [PATCH] Warn if server-side ad wasn't detected and submitting a segment --- maze-utils | 2 +- public/_locales | 2 +- src/components/SubmissionNoticeComponent.tsx | 7 ++++++- src/content.ts | 3 ++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/maze-utils b/maze-utils index 28a41ee8..3c778789 160000 --- a/maze-utils +++ b/maze-utils @@ -1 +1 @@ -Subproject commit 28a41ee8335750fd16eed1d3a818f9f9e0aaf6a2 +Subproject commit 3c7787897e1e65cf6b55e76f39c43f4ed081d24e diff --git a/public/_locales b/public/_locales index becf2e3f..7cedce21 160000 --- a/public/_locales +++ b/public/_locales @@ -1 +1 @@ -Subproject commit becf2e3f14983eae390d182ded0ac7897048e20c +Subproject commit 7cedce215851872be28bd50a9f690b680dd54442 diff --git a/src/components/SubmissionNoticeComponent.tsx b/src/components/SubmissionNoticeComponent.tsx index 6ecd0e84..28703767 100644 --- a/src/components/SubmissionNoticeComponent.tsx +++ b/src/components/SubmissionNoticeComponent.tsx @@ -9,7 +9,7 @@ import NoticeTextSelectionComponent from "./NoticeTextSectionComponent"; import SponsorTimeEditComponent from "./SponsorTimeEditComponent"; import { getGuidelineInfo } from "../utils/constants"; import { exportTimes } from "../utils/exporter"; -import { getVideo } from "../../maze-utils/src/video"; +import { getVideo, isCurrentTimeWrong } from "../../maze-utils/src/video"; export interface SubmissionNoticeProps { // Contains functions and variables from the content script needed by the skip notice @@ -216,6 +216,11 @@ class SubmissionNoticeComponent extends React.Component