Add warning when enabling filler

This commit is contained in:
Ajay
2023-05-29 14:39:44 -04:00
parent 198ae9c41f
commit c7dad09555
2 changed files with 7 additions and 1 deletions

View File

@@ -139,6 +139,12 @@ class CategorySkipOptionsComponent extends React.Component<CategorySkipOptionsPr
case "autoSkip": case "autoSkip":
option = CategorySkipOption.AutoSkip; option = CategorySkipOption.AutoSkip;
if (this.props.category === "filler" && !Config.config.isVip) {
if (!confirm(chrome.i18n.getMessage("FillerWarning"))) {
event.target.value = "disable";
}
}
break; break;
} }