feat: auto-show connect dialog when auto-connect is disabled, resolves #14

This commit is contained in:
2023-11-14 22:51:59 +01:00
parent ebf7d73d20
commit bdebe238ae
2 changed files with 9 additions and 5 deletions

View File

@@ -54,7 +54,9 @@
await initPwa()
}
if (browser && $userPreferences.autoConnect && (await canAutoConnect())) await initSerial()
if (browser && $userPreferences.autoConnect && (await canAutoConnect())) {
await initSerial()
}
})
let webManifestLink = ""