Commit eb31d95b authored by hywang's avatar hywang

1.修复扫描蓝牙设备异常

parent 211a0d84
......@@ -32,8 +32,8 @@ class SettingPage extends StatelessWidget {
itemCount: BleService.to.scanResults.length,
itemBuilder: (BuildContext context, int index) {
return ListTile(
title: Text(BleService.to.scanResults[index].device.platformName),
subtitle: Text(BleService.to.scanResults[index].device.remoteId.toString()),
title: Text(BleService.to.scanResults[index].device.remoteId.toString()),
subtitle: Text(BleService.to.scanResults[index].device.platformName),
onTap: ()=>{
logic.connectBle(context,index),
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment