更新传感器升级
This commit is contained in:
@@ -63,14 +63,6 @@ class _MHTBlueteethDevicePageState extends State<MHTBlueteethDevicePage> {
|
||||
mhtBlueToothController.startStatusPolling();
|
||||
mhtBlueToothController.search.value = "";
|
||||
mhtBlueToothController.currentDeviceMac?.value = "";
|
||||
// BluetoothHelper.listenBluetoothState((isOn) {
|
||||
// if (!isOn && !_isDialogShowing) {
|
||||
// _isDialogShowing = true;
|
||||
// _showBluetoothNotEnabledDialog().then((_) {
|
||||
// _isDialogShowing = false;
|
||||
// });
|
||||
// }
|
||||
// });
|
||||
BluetoothHelper.listenBluetoothState((isOn) {
|
||||
mhtBlueToothController.model.bluetooth = isOn;
|
||||
mhtBlueToothController.updateAll();
|
||||
|
||||
Reference in New Issue
Block a user