更新
This commit is contained in:
@@ -50,7 +50,7 @@ class _WifiPageState extends State<WifiPage> {
|
||||
THapp bledevice = blueteethBindController.currentDevice!;
|
||||
bledevice.device.connect().then((Value) {
|
||||
var res2 = bledevice.isConnected;
|
||||
if (res2) {
|
||||
if (res2) {
|
||||
blueteethBindController.blueConnectFlag.value = 2;
|
||||
blueteethBindController.currentDevice = bledevice;
|
||||
if (lisObj != null) {
|
||||
@@ -194,7 +194,6 @@ class _WifiPageState extends State<WifiPage> {
|
||||
}
|
||||
return Container();
|
||||
}),
|
||||
|
||||
],
|
||||
),
|
||||
|
||||
@@ -203,7 +202,7 @@ class _WifiPageState extends State<WifiPage> {
|
||||
left: 0,
|
||||
child: returnIconButtom,
|
||||
),
|
||||
|
||||
|
||||
if (widget.type == null)
|
||||
Positioned(
|
||||
right: 20.rpx,
|
||||
@@ -229,7 +228,7 @@ class _WifiPageState extends State<WifiPage> {
|
||||
height: 60.rpx,
|
||||
alignment: Alignment.center,
|
||||
padding: EdgeInsetsDirectional.fromSTEB(
|
||||
16.rpx, 0, 16.rpx, 0),
|
||||
0.rpx, 0, 0.rpx, 0),
|
||||
child: Text(
|
||||
'下一步'.tr,
|
||||
style: FlutterFlowTheme.of(context)
|
||||
@@ -243,7 +242,6 @@ class _WifiPageState extends State<WifiPage> {
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user