mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-15 12:21:47 +00:00
fix: apply fix from eslint
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { globalShortcut, MenuItem } from 'electron';
|
||||
import prompt, { KeybindOptions } from 'custom-electron-prompt';
|
||||
import { globalShortcut, type MenuItem } from 'electron';
|
||||
import prompt, { type KeybindOptions } from 'custom-electron-prompt';
|
||||
|
||||
import hudStyle from './volume-hud.css?inline';
|
||||
import { createPlugin } from '@/utils';
|
||||
|
||||
@ -66,7 +66,7 @@ export const onPlayerApiReady = async (
|
||||
injectVolumeHud(noVid);
|
||||
if (!noVid) {
|
||||
setupVideoPlayerOnwheel();
|
||||
if (!await window.mainConfig.plugins.isEnabled('video-toggle')) {
|
||||
if (!(await window.mainConfig.plugins.isEnabled('video-toggle'))) {
|
||||
// Video-toggle handles hud positioning on its own
|
||||
const videoMode = () =>
|
||||
api.getPlayerResponse().videoDetails?.musicVideoType !==
|
||||
|
||||
Reference in New Issue
Block a user