mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-28 18:49:56 +02:00
Make extended info (debug mode) dialog disappear
The callback handler is removed when disconnecting, so the state must be set first.
This commit is contained in:
@@ -156,8 +156,8 @@ public class BluetoothDebug extends BluetoothCommunication {
|
||||
logService(service, false);
|
||||
}
|
||||
|
||||
disconnect(false);
|
||||
setBtStatus(BT_STATUS_CODE.BT_CONNECTION_LOST);
|
||||
disconnect(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user