Attempt to fix keyboard placement, wait for connection

This commit is contained in:
Jon Staab
2025-03-03 13:23:44 -08:00
parent 2ad65e394e
commit 5bba5959f7
2 changed files with 4 additions and 1 deletions

View File

@@ -2,7 +2,9 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, viewport-fit=cover, interactive-widget=resizes-content" />
<meta name="theme-color" content="{ACCENT}" />
<meta name="description" content="{DESCRIPTION}" />
<meta name="og:url" content="{URL}" />

View File

@@ -331,6 +331,7 @@ export const checkRelayConnection = async (url: string) => {
const connection = ctx.net.pool.get(url)
await connection.socket.open()
await connection.socket.wait(3000)
if (connection.socket.status !== SocketStatus.Open) {
return `Failed to connect`