chore: refine ios pairing recovery copy

This commit is contained in:
2026-04-28 20:13:18 +02:00
parent 9922b90f49
commit e3eba0bfc1

View File

@ -21,7 +21,7 @@ Future<bool> openBluetoothSettings() async {
Future<void> showBluetoothPairingRecoveryDialog(BuildContext context) { Future<void> showBluetoothPairingRecoveryDialog(BuildContext context) {
final isIOS = Platform.isIOS; final isIOS = Platform.isIOS;
final content = isIOS final content = isIOS
? 'The connection opened, then broke while reading the device. This is probably a pairing problem.\n\nOn iOS, open Settings, go to Bluetooth, forget this device, then come back and connect again.' ? 'The connection opened, then broke while reading the device. This is probably a pairing problem.\n\nGo to Settings, then Bluetooth, then forget this device. After that, come back and connect again.\n\nOr press Open Settings below. From the app settings page, press Back twice to reach Bluetooth settings, then forget this device.'
: 'The connection opened, then broke while reading the device. This is probably a pairing problem.\n\nOpen Bluetooth settings, remove/forget this device, then come back and connect again.'; : 'The connection opened, then broke while reading the device. This is probably a pairing problem.\n\nOpen Bluetooth settings, remove/forget this device, then come back and connect again.';
final settingsButtonLabel = isIOS ? 'Open Settings' : 'Open Bluetooth settings'; final settingsButtonLabel = isIOS ? 'Open Settings' : 'Open Bluetooth settings';