fix(mpris): fixed an issue where MPRIS information was incorrect (#1291)

This commit is contained in:
JellyBrick
2023-10-09 19:36:17 +09:00
committed by GitHub
parent 7693a3ba4a
commit 24d4a50574
5 changed files with 135 additions and 66 deletions

View File

@ -62,8 +62,8 @@ export const setupRepeatChangedListener = singleton(() => {
ipcRenderer.send(
'repeatChanged',
$<HTMLElement & {
GetState: () => GetState;
}>('ytmusic-player-bar')?.GetState().queue.repeatMode,
getState: () => GetState;
}>('ytmusic-player-bar')?.getState().queue.repeatMode,
);
});