Commit 281a830
fix(flutter_port): Mobile-Bugsweep 2026-06-23 (Re-Sweep) — .single StateError
home_screen._pickFile: result.files.single warf StateError bei leerer files-Liste
(result != null). Fix: isEmpty-Guard + result.files.first. Verhaltensgleich fuer
den 1-Datei-Fall, sicher bei leerer Liste. (Muster wie StreamingGuide A4; der
06-20-Sweep kannte es noch nicht.)
Sonst sauber (Markdown-Editor, keine DB -> rejected-Future N/A; mounted-Guards/
catch/Smart-Punctuation bereits 06-20 gefixt; l10n vollstaendig). Regressionstest:
bugsweep_loop_20260623_test.dart. Scope: nur flutter_port. Statische Verifikation.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent bf894fd commit 281a830
2 files changed
Lines changed: 25 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
80 | | - | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
89 | | - | |
90 | | - | |
| 92 | + | |
| 93 | + | |
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments