diff --git a/materialious/electron/package-lock.json b/materialious/electron/package-lock.json index 23937014..083ba73e 100644 --- a/materialious/electron/package-lock.json +++ b/materialious/electron/package-lock.json @@ -22,7 +22,7 @@ "jsonfile": "^6.1.0" }, "devDependencies": { - "electron": "^35.2.1", + "electron": "^37.2.0", "electron-builder": "^26.0.12", "electron-rebuild": "^3.2.9", "typescript": "^5.7.3" @@ -2495,9 +2495,9 @@ } }, "node_modules/electron": { - "version": "35.2.1", - "resolved": "https://registry.npmjs.org/electron/-/electron-35.2.1.tgz", - "integrity": "sha512-LO4xXLpzkPPUVLvAbdHMlW7N9Z+Qqz+7QsmSWXluTIQMeJk+v7o36nUTZghyA2I1s//tlMvuaCtle6Qo2W0Ktg==", + "version": "37.2.0", + "resolved": "https://registry.npmjs.org/electron/-/electron-37.2.0.tgz", + "integrity": "sha512-dE6+qeg6SBUVd5d8CD2+GH82kh+gF1v40+hs+U+UOno681NMSGmBtgqwldQRpbvtnQDD7V2M9Cpfr3+Abw7aBg==", "dev": true, "hasInstallScript": true, "license": "MIT", diff --git a/materialious/electron/package.json b/materialious/electron/package.json index 7f42c67b..2732fc6e 100644 --- a/materialious/electron/package.json +++ b/materialious/electron/package.json @@ -35,7 +35,7 @@ "jsonfile": "^6.1.0" }, "devDependencies": { - "electron": "^35.2.1", + "electron": "^37.2.0", "electron-builder": "^26.0.12", "electron-rebuild": "^3.2.9", "typescript": "^5.7.3" @@ -44,4 +44,4 @@ "capacitor", "electron" ] -} \ No newline at end of file +} diff --git a/materialious/src/lib/components/Player.svelte b/materialious/src/lib/components/Player.svelte index d2234760..9eac34e6 100644 --- a/materialious/src/lib/components/Player.svelte +++ b/materialious/src/lib/components/Player.svelte @@ -232,7 +232,7 @@ await setStatusBarColor(); } - if (!get(playerAndroidLockOrientation)) return; + if (!$playerAndroidLockOrientation) return; if (isFullScreen && videoFormats[0].resolution) { const widthHeight = videoFormats[0].resolution.split('x');