update 1. GTP-6 Astra, оптимизация кода и фикс
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
(() => {
|
||||
"use strict";
|
||||
const runtimeStorage = window.HockeyMatchAccess?.storage || localStorage;
|
||||
|
||||
const boot = window.UI_BUILDER_BOOT || {};
|
||||
if (boot.mode !== "runtime") return;
|
||||
@@ -40,7 +41,7 @@
|
||||
function activeDeviceId() {
|
||||
return String(
|
||||
window.HockeyAgentRuntime?.currentDeviceId?.()
|
||||
|| localStorage.getItem("hockey.vmix.selected_device")
|
||||
|| runtimeStorage.getItem("hockey.vmix.selected_device")
|
||||
|| ""
|
||||
).trim();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user