Made manual skip vote follow config

This commit is contained in:
Ajay Ramachandran
2020-03-09 22:50:07 -04:00
parent ccbc0456f9
commit c526a812e0

View File

@@ -1,4 +1,5 @@
import * as React from "react";
import Config from "../config"
export interface SkipNoticeProps {
UUID: string;
@@ -289,7 +290,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
if (this.manualSkip) {
this.changeNoticeTitle(chrome.i18n.getMessage("noticeTitle"));
this.contentContainer().vote(1, this.UUID, this);
if(Config.config.disableAutoSkip) this.contentContainer().vote(1, this.UUID);
}
}