Skip to content

Commit

Permalink
[fix] description theme not matching preference - take 2 (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
drunkwinter authored Jun 21, 2023
1 parent 0a9eee3 commit 8549af4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/strategies/next.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { getYtcfgValue, isConfirmed, isEmbed } from '../../utils';
import { innertube, proxy } from '../endpoints';

export default function getUnlockStrategies(videoId, lastPlayerUnlockReason) {
const client = getYtcfgValue('INNERTUBE_CONTEXT');
const context = getYtcfgValue('INNERTUBE_CONTEXT');
const clientName = getYtcfgValue('INNERTUBE_CLIENT_NAME') || 'WEB';
const clientVersion = getYtcfgValue('INNERTUBE_CLIENT_VERSION') || '2.20220203.04.00';
const hl = getYtcfgValue('HL');
const userInterfaceTheme = client.userInterfaceTheme;
const userInterfaceTheme = context.client.userInterfaceTheme;

return [
/**
Expand Down

0 comments on commit 8549af4

Please sign in to comment.