feat: redesign and lots of progress
This commit is contained in:
@ -186,6 +186,14 @@ class _DevicesListState extends ConsumerState<DevicesList> {
|
||||
}
|
||||
|
||||
if (result.isOk()) {
|
||||
await ref
|
||||
.read(nConnectedDevicesProvider.notifier)
|
||||
.updateConnectedDeviceLastConnected(device.id);
|
||||
|
||||
if (!context.mounted) {
|
||||
return;
|
||||
}
|
||||
|
||||
context.go('/device/${device.deviceAddress}');
|
||||
} else {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
|
||||
Reference in New Issue
Block a user