Fix font issue, NaN issue and remove hide real time

This commit is contained in:
Ajay Ramachandran
2020-07-03 19:56:08 -04:00
parent 77abc1d031
commit bfafcd07cc
2 changed files with 12 additions and 17 deletions

View File

@@ -5,8 +5,6 @@ import Utils from "./utils";
const utils = new Utils();
interface SBConfig {
hideRealTime: boolean,
timeWithSkips: boolean,
userID: string,
sponsorTimes: SBMap<string, any>,
whitelistedChannels: string[],
@@ -17,6 +15,7 @@ interface SBConfig {
skipCount: number,
sponsorTimesContributed: number,
submissionCountSinceCategories: number, // New count used to show the "Read The Guidelines!!" message
showTimeWithSkips: boolean,
unsubmittedWarning: boolean,
disableSkipping: boolean,
trackViewCount: boolean,
@@ -125,8 +124,6 @@ var Config: SBObject = {
*/
configListeners: [],
defaults: {
hideRealTime: false,
timeWithSkips: true,
userID: null,
sponsorTimes: new SBMap("sponsorTimes"),
whitelistedChannels: [],
@@ -137,6 +134,7 @@ var Config: SBObject = {
skipCount: 0,
sponsorTimesContributed: 0,
submissionCountSinceCategories: 0,
showTimeWithSkips: true,
unsubmittedWarning: true,
disableSkipping: false,
trackViewCount: true,