File tree Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 365
365
< div class ="small-description "> __MSG_showTimeWithSkipsDescription__</ div >
366
366
</ div >
367
367
368
- < div data-type ="toggle " data-sync ="cleanPopup " data-no-safari =" true " >
368
+ < div data-type ="toggle " data-sync ="cleanPopup ">
369
369
< div class ="switch-container ">
370
370
< label class ="switch ">
371
371
< input id ="cleanPopup " type ="checkbox " checked >
375
375
__MSG_cleanPopup__
376
376
</ label >
377
377
</ div >
378
+
379
+ < br />
380
+
381
+ < div data-type ="toggle " data-sync ="hideSegmentCreationInPopup ">
382
+ < div class ="switch-container ">
383
+ < label class ="switch ">
384
+ < input id ="hideSegmentCreationInPopup " type ="checkbox " checked >
385
+ < span class ="slider round "> </ span >
386
+ </ label >
387
+ < label class ="switch-label " for ="hideSegmentCreationInPopup ">
388
+ __MSG_hideSegmentCreationInPopup__
389
+ </ label >
390
+ </ div >
391
+ </ div >
378
392
</ div >
379
393
380
394
< div data-type ="toggle " data-sync ="darkMode ">
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ interface SBConfig {
77
77
shownDeArrowPromotion : boolean ;
78
78
showZoomToFillError2 : boolean ;
79
79
cleanPopup : boolean ;
80
+ hideSegmentCreationInPopup : boolean ;
80
81
81
82
// Used to cache calculated text color info
82
83
categoryPillColors : {
@@ -349,6 +350,7 @@ const syncDefaults = {
349
350
shownDeArrowPromotion : false ,
350
351
showZoomToFillError2 : true ,
351
352
cleanPopup : false ,
353
+ hideSegmentCreationInPopup : false ,
352
354
353
355
categoryPillColors : { } ,
354
356
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ export const PopupComponent = () => {
220
220
}
221
221
222
222
{
223
- ! Config . config . cleanPopup &&
223
+ ! Config . config . cleanPopup && ! Config . config . hideSegmentCreationInPopup &&
224
224
< SegmentSubmissionComponent
225
225
videoID = { videoID || "" }
226
226
status = { status . status }
You can’t perform that action at this time.
0 commit comments