diff options
m--------- | public/_locales | 0 | ||||
-rw-r--r-- | src/components/options/CategorySkipOptionsComponent.tsx | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/public/_locales b/public/_locales -Subproject 306f1deff30197b30bc57cfa9ee60c130744963 +Subproject c0e6d8aaef87b5745312db439d6a3dea04a4d9b diff --git a/src/components/options/CategorySkipOptionsComponent.tsx b/src/components/options/CategorySkipOptionsComponent.tsx index b7b59c97..d9d89cf0 100644 --- a/src/components/options/CategorySkipOptionsComponent.tsx +++ b/src/components/options/CategorySkipOptionsComponent.tsx @@ -139,6 +139,12 @@ class CategorySkipOptionsComponent extends React.Component<CategorySkipOptionsPr case "autoSkip": option = CategorySkipOption.AutoSkip; + if (this.props.category === "filler" && !Config.config.isVip) { + if (!confirm(chrome.i18n.getMessage("FillerWarning"))) { + event.target.value = "disable"; + } + } + break; } |