RustDesk/flutter/lib
Kássio Oliveira 6d8b5b289f
Refactor ScanPage for better performance and memory management (#9464)
- Added null checks in `reassemble` method to avoid potential null pointer exceptions when pausing/resuming the camera.
- Refactored image picking and QR code decoding process to use async/await, avoiding UI blocking with synchronous file reads.
- Improved exception handling by making it more specific to QR code reading errors.
- Introduced `StreamSubscription` for the QR scan listener and ensured proper cancellation in `dispose` method to prevent memory leaks.
- Separated button building logic (`_buildImagePickerButton`, `_buildFlashToggleButton`, `_buildCameraSwitchButton`) to enhance code readability and maintainability.
2024-09-26 10:34:12 +08:00
..
common fix peers view ChangeNotifierProvider update (#9459) 2024-09-25 15:11:11 +08:00
desktop fix check update (#9444) 2024-09-24 11:37:30 +08:00
mobile Refactor ScanPage for better performance and memory management (#9464) 2024-09-26 10:34:12 +08:00
models fix: keyboard, change mode, await, on input source changed (#9434) 2024-09-23 17:31:37 +08:00
native fix: web, reset cursor on disconn, back to main page (#9192) 2024-08-27 23:58:04 +08:00
plugin remove stupid group, bad implementation, buggy, and not usable 2023-06-23 17:05:48 +08:00
utils addressing https://github.com/rustdesk/rustdesk/issues/8883 2024-07-30 00:27:01 +08:00
web refact: web elevation (#9445) 2024-09-24 13:53:17 +08:00
common.dart fix ci 2024-09-13 09:21:50 +08:00
consts.dart fix check update (#9444) 2024-09-24 11:37:30 +08:00
main.dart refact: peer card, orientation (#9235) 2024-09-03 19:06:11 +08:00