mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2026-03-15 23:22:37 +03:00
Add option to hide segment creation buttons in the popup
This commit is contained in:
@@ -77,6 +77,7 @@ interface SBConfig {
|
||||
shownDeArrowPromotion: boolean;
|
||||
showZoomToFillError2: boolean;
|
||||
cleanPopup: boolean;
|
||||
hideSegmentCreationInPopup: boolean;
|
||||
|
||||
// Used to cache calculated text color info
|
||||
categoryPillColors: {
|
||||
@@ -349,6 +350,7 @@ const syncDefaults = {
|
||||
shownDeArrowPromotion: false,
|
||||
showZoomToFillError2: true,
|
||||
cleanPopup: false,
|
||||
hideSegmentCreationInPopup: false,
|
||||
|
||||
categoryPillColors: {},
|
||||
|
||||
|
||||
@@ -220,7 +220,7 @@ export const PopupComponent = () => {
|
||||
}
|
||||
|
||||
{
|
||||
!Config.config.cleanPopup &&
|
||||
!Config.config.cleanPopup && !Config.config.hideSegmentCreationInPopup &&
|
||||
<SegmentSubmissionComponent
|
||||
videoID={videoID || ""}
|
||||
status={status.status}
|
||||
|
||||
Reference in New Issue
Block a user