Minor change

This commit is contained in:
WardPearce
2025-11-28 15:09:51 +13:00
parent 8d12bd90e2
commit cd3b31664c
@@ -790,6 +790,9 @@
onDestroy(async () => {
if (Capacitor.getPlatform() === 'android' && !$isAndroidTvStore) {
document.removeEventListener('fullscreenchange', onAndroidFullscreenChange);
await Motion.removeAllListeners();
if (originalOrigination) {
await ScreenOrientation.lock({
orientation: originalOrigination.type
@@ -801,8 +804,6 @@
savePlayerPos();
} catch (error) {}
document.removeEventListener('fullscreenchange', onAndroidFullscreenChange);
Mousetrap.unbind(['left', 'right', 'space', 'c', 'f', 'shift+left', 'shift+right']);
if (watchProgressTimeout) {