Skip to content

Commit c85d40c

Browse files
committed
Remove WebUSB option when connected over the bridge
1 parent e444f45 commit c85d40c

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

mbf-site/src/App.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -281,19 +281,6 @@ function ChooseDevice() {
281281
}}>Connect to {device.serial}</button>
282282
</li>
283283
</>)}
284-
{!usingOculusBrowser() && navigator.usb && <>
285-
<li>
286-
<button onClick={async () => {
287-
if (!bridgeData.isLocal || confirm("Connecting with WebUSB will terminate the ADB server. Are you sure you want to proceed?")) {
288-
if (bridgeData.isLocal) {
289-
await bridgeClient.killServer();
290-
}
291-
292-
await connectWebUsb();
293-
}
294-
}}>Connect with WebUSB</button>
295-
</li>
296-
</>}
297284
</ul>
298285
<span><OpenLogsButton /></span>
299286
</div>

0 commit comments

Comments
 (0)