UI: attempt to fix #2508

This commit is contained in:
Pieter Vander Vennet 2025-09-03 01:10:56 +02:00
parent 90fdb22842
commit 3f897bdff5
2 changed files with 11 additions and 1 deletions

View file

@ -120,7 +120,7 @@ export class AndroidPolyfill {
if (typeof v === "string") {
v = JSON.parse(v)
}
console.log("Got inset sizes:", result)
console.log("Got inset sizes:", JSON.stringify(result))
insets.bottom.set(v.bottom / window.devicePixelRatio)
insets.top.set(v.top / window.devicePixelRatio)
})
@ -186,4 +186,8 @@ export class AndroidPolyfill {
}
)
}
static exit() {
this.databridgePlugin.request({key: "exit"})
}
}