fix: 在选择网关界面当显示出网关时网关拔掉电源,左上键返回再点下一步应没有该网关显示
This commit is contained in:
parent
1ffcf02cad
commit
6769e9af5d
@ -4,7 +4,7 @@ import 'flavors.dart';
|
||||
import 'main.dart' as runner;
|
||||
|
||||
Future<void> main() async {
|
||||
F.appFlavor = Flavor.xhj;
|
||||
F.appFlavor = Flavor.sky;
|
||||
// AppLog.log('local调用了main函数');
|
||||
await runner.main();
|
||||
}
|
||||
|
||||
@ -121,6 +121,7 @@ class SelectGatewayListLogic extends BaseGetXController {
|
||||
|
||||
Future<void> stopScanBlueList() async {
|
||||
// BlueManage().disconnect();
|
||||
state.devices.clear();
|
||||
await BlueManage().stopScan();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user