Fix problem with the Android app

This commit is contained in:
redphx
2024-04-28 17:17:55 +07:00
parent 7a79546831
commit 0ba8df734c
5 changed files with 10 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ const DEFAULT_FLAGS: BxFlags = {
UseDevTouchLayout: false,
}
const BX_FLAGS = Object.assign(DEFAULT_FLAGS, window.BX_FLAGS || {});
delete window.BX_FLAGS;
export { BX_FLAGS }
export const BX_FLAGS = Object.assign(DEFAULT_FLAGS, window.BX_FLAGS || {});
try {
delete window.BX_FLAGS;
} catch (e) {}