feat: better pairing broken notification
This commit is contained in:
@ -732,6 +732,11 @@ class _DeviceDetailsPageState extends ConsumerState<DeviceDetailsPage> {
|
||||
}
|
||||
|
||||
if (result.isErr()) {
|
||||
if (isBluetoothPairingRecoveryError(result.unwrapErr())) {
|
||||
await showBluetoothPairingRecoveryDialog(context);
|
||||
return;
|
||||
}
|
||||
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(
|
||||
|
||||
Reference in New Issue
Block a user