mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 05:27:03 +03:00
Vip warning added when downvoting. sry that it is in the same branch, but this is the most current UI
This commit is contained in:
@@ -3,7 +3,9 @@ import { Category, CategorySelection, CategorySkipOption, NoticeVisbilityMode, P
|
||||
|
||||
interface SBConfig {
|
||||
userID: string,
|
||||
/** Contains unsubmitted segments that the user has created. */
|
||||
isVip: boolean,
|
||||
lastIsVipUpdate: number,
|
||||
/* Contains unsubmitted segments that the user has created. */
|
||||
segmentTimes: SBMap<string, SponsorTime[]>,
|
||||
defaultCategory: Category,
|
||||
whitelistedChannels: string[],
|
||||
@@ -153,6 +155,8 @@ const Config: SBObject = {
|
||||
configListeners: [],
|
||||
defaults: {
|
||||
userID: null,
|
||||
isVip: false,
|
||||
lastIsVipUpdate: 0,
|
||||
segmentTimes: new SBMap("segmentTimes"),
|
||||
defaultCategory: "chooseACategory" as Category,
|
||||
whitelistedChannels: [],
|
||||
@@ -214,7 +218,8 @@ const Config: SBObject = {
|
||||
|
||||
colorPalette: new SBMap("colorPalette", [
|
||||
["SponsorBlockRed", "#780303"],
|
||||
["SponsorBlockWhite", "#ffffff"]
|
||||
["SponsorBlockWhite", "#ffffff"],
|
||||
["SponsorBlockLocked", "#ffc83d"]
|
||||
]),
|
||||
|
||||
// Preview bar
|
||||
|
||||
Reference in New Issue
Block a user