remove Bluetooth warning for Android Gadgetbridge

master
Gordon Williams 2025-03-31 09:54:45 +01:00
parent 97d86e6c08
commit 0d0dc8ab1d
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ window.addEventListener('load', (event) => {
reloadLanguage();
});
if (!navigator.bluetooth) {
if ((typeof Android === "undefined") && !navigator.bluetooth) {
console.warn("No Web Bluetooth on this platform");
var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
if (iOS) {