-
Notifications
You must be signed in to change notification settings - Fork 3
Merged view of usb and bluetooth devices #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
< 8000 /div>Conversation
mobile/lib/src/presentation/pages/device_selector/device_selector_page.dart
Outdated
Show resolved
Hide resolved
@@ -20,14 +21,21 @@ class SerialRepository implements IAcquisitionDeviceRepository { | |||
void initializeRepository() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi ne pas nommer cela scan()? Même si ce n'est pas un scan bluetooth comme tel, je trouve que cela explique plus ce que c'est. Si on le nomme comme ça, on pourrait retourner Stream<List<AcquisitionDevice>>
à la place de void
. On aurait plus besoin de IAcquisitionDeviceRepository::watch()
si on procédait ainsi.
Showing Usb and Bluetooth devices in the same view. Also fixed a bug where plugging in a Usb device after opening the page wouldn't show it.