Commit 6cf128b
Changed files (2)
app
lib
components
l10n
app/lib/components/bluetooth_input.dart
@@ -126,9 +126,16 @@ class _BluetoothInputState extends State<BluetoothInput> {
if (context.mounted) {
await showDialog(
context: context,
- builder: (BuildContext context) => Text(
- AppLocalizations.of(context)!.aboutBleInput,
- )
+ builder: (BuildContext context) => AlertDialog(
+ title: Text(AppLocalizations.of(context)!.bluetoothInput),
+ content: Text(AppLocalizations.of(context)!.aboutBleInput),
+ actions: <Widget>[
+ ElevatedButton(
+ child: Text((AppLocalizations.of(context)!.btnConfirm)),
+ onPressed: () => Navigator.of(context).pop(),
+ ),
+ ],
+ ),
);
}
},
app/lib/l10n/app_en.arb
@@ -524,6 +524,6 @@
"@connect": {},
"bluetoothInput": "Bluetooth input",
"@bluetoothInput": {},
- "aboutBleInput": "Some measurement devices allow automatically transmitting measurements through the BLE GATT protocol. You can pair your device here or disable this option in the settings.",
+ "aboutBleInput": "Some measurement devices are BLE GATT compatible. You can pair these devices here and automatically transmit measurements or disable this option in the settings.",
"@aboutBleInput": {}
}