V0.3.0版本优化传输速度和提示

This commit is contained in:
zhy
2026-08-10 15:45:04 +08:00
commit d885259e2b
58 changed files with 10284 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# QFT Windows v0.2.2 build fix
This patch fixes the five `cargo check` errors reported against eframe/egui 0.35.0.
## Fixed
1. Added semicolons after `ui.small(...)` calls that were used as the final expression of `if/else` blocks. `ui.small()` returns `egui::Response`, while those blocks must evaluate to `()`.
2. Removed the obsolete `Context::style()` and `Context::set_style()` calls. Those APIs are not available in egui 0.35.
3. Preserved the intended spacing by applying it through `Ui::spacing_mut()` inside `eframe::App::ui`.
4. Bumped Windows application/package version to 0.2.2.
## Verify on Windows
```powershell
cd E:\tools\qft_win_android_mvp\windows
cargo check
cargo run --release
```
The Android/Windows transfer protocol, Wi-Fi Direct pairing flow, receiver service and optical transport are unchanged by this patch.