Open BLKKKBVSIK opened 6 months ago
If the Fwupd service doesn't return any devices, we have an error, we should probably return a modal or any error message and not an infinite loading screen
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: FwupdNothingToDoException: No detected devices #0 FwupdClient._callMethod (package:fwupd/src/fwupd_client.dart:555:11) <asynchronous suspension> #1 FwupdClient.getDevices (package:fwupd/src/fwupd_client.dart:168:20) <asynchronous suspension> #2 DeviceStore.refresh.<anonymous closure> (package:firmware_updater/device_store.dart:55:39) <asynchronous suspension> #3 _FirmwareAppState.initState.<anonymous closure> (package:firmware_updater/firmware_app.dart:55:23) <asynchronous suspension>
If the Fwupd service doesn't return any devices, we have an error, we should probably return a modal or any error message and not an infinite loading screen