Skip to content

Commit

Permalink
Remove redundant export
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed Aug 16, 2024
1 parent de7d531 commit ce3074c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ if (!Config.configSyncListeners.includes(contentConfigUpdateListener)) {
Config.configSyncListeners.push(contentConfigUpdateListener);
}

export function resetValues() {
function resetValues() {
lastCheckTime = 0;
lastCheckVideoTime = -1;
retryCount = 0;
Expand Down Expand Up @@ -445,7 +445,7 @@ export function resetValues() {
}
}

export async function videoIDChange(): Promise<void> {
async function videoIDChange(): Promise<void> {
//setup the preview bar
if (previewBar === null) {
waitFor(getControls).then(createPreviewBar);
Expand Down Expand Up @@ -1418,7 +1418,7 @@ function updatePreviewBar(): void {
}

//checks if this channel is whitelisted, should be done only after the channelID has been loaded
export async function channelIDChange(channelIDInfo: ChannelIDInfo) {
async function channelIDChange(channelIDInfo: ChannelIDInfo) {
const whitelistedChannels = Config.config.whitelistedChannels;

//see if this is a whitelisted channel
Expand All @@ -1434,7 +1434,7 @@ export async function channelIDChange(channelIDInfo: ChannelIDInfo) {
if (Config.config.forceChannelCheck && sponsorTimes?.length > 0) startSkipScheduleCheckingForStartSponsors();
}

export function videoElementChange(newVideo: boolean): void {
function videoElementChange(newVideo: boolean): void {
waitFor(() => Config.isReady()).then(() => {
if (newVideo) {
setupVideoListeners();
Expand Down

0 comments on commit ce3074c

Please sign in to comment.