mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
chore: Linter fixes for USB serial transport
This commit is contained in:
@@ -758,6 +758,7 @@ class _UsbDeviceListState extends State<_UsbDeviceList> {
|
||||
widget.onConnected();
|
||||
} else {
|
||||
await port.close();
|
||||
if (!mounted) return;
|
||||
setState(() => _isConnecting = false);
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
const SnackBar(content: Text('Failed to connect via USB')),
|
||||
|
||||
Reference in New Issue
Block a user