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