remove Bluetooth warning for Android Gadgetbridge
parent
97d86e6c08
commit
0d0dc8ab1d
|
|
@ -333,7 +333,7 @@ window.addEventListener('load', (event) => {
|
||||||
reloadLanguage();
|
reloadLanguage();
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!navigator.bluetooth) {
|
if ((typeof Android === "undefined") && !navigator.bluetooth) {
|
||||||
console.warn("No Web Bluetooth on this platform");
|
console.warn("No Web Bluetooth on this platform");
|
||||||
var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
|
var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
|
||||||
if (iOS) {
|
if (iOS) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue