mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-08-18 16:47:45 +00:00
fix: initial isMiniplayer check for external player
This commit is contained in:
parent
3c132aeb3c
commit
0a2bce9d78
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ui",
|
||||
"version": "6.4.41",
|
||||
"version": "6.4.42",
|
||||
"license": "BUSL-1.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.14.4",
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
function openPlayer () {
|
||||
if (isMiniplayer) goto('/app/player/')
|
||||
}
|
||||
const player = isMiniplayer ? Promise.resolve() : native.spawnPlayer(mediaInfo.file.url)
|
||||
const player = $page.route.id !== '/app/player' ? Promise.resolve() : native.spawnPlayer(mediaInfo.file.url)
|
||||
const startTime = Date.now()
|
||||
|
||||
const elapsed = writable(0, (set) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue