fix(bt-locate): stabilize first-load map and release v2.21.1

This commit is contained in:
Smittix
2026-02-20 00:49:08 +00:00
parent a407c7708d
commit 9ec316fbe2
5 changed files with 107 additions and 18 deletions

View File

@@ -4242,6 +4242,12 @@
SubGhz.init();
} else if (mode === 'bt_locate') {
BtLocate.init();
setTimeout(() => {
if (typeof BtLocate !== 'undefined' && BtLocate.invalidateMap) BtLocate.invalidateMap();
}, 100);
setTimeout(() => {
if (typeof BtLocate !== 'undefined' && BtLocate.invalidateMap) BtLocate.invalidateMap();
}, 320);
} else if (mode === 'spaceweather') {
SpaceWeather.init();
}