Commit b72be1b
fix: self-review dead code and alert binding fixes
- Remove unused @State currentSession in RetroAchievementsView
- Simplify initializeClient: remove unnecessary nested Task inside MainActor.run
- Remove dead moveTVOSBackup(from:) in BackupRestoreView (never called)
- Fix .constant(errorMessage != nil) anti-pattern in BatchArtworkMatchingView
with proper @State showErrorAlert so the alert can dismiss correctly
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e9665a6 commit b72be1b
File tree
3 files changed
+14
-35
lines changed- PVUI/Sources/PVSwiftUI/Settings
- Views
3 files changed
+14
-35
lines changedLines changed: 8 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
574 | 573 | | |
575 | 574 | | |
576 | 575 | | |
| 576 | + | |
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
| 581 | + | |
595 | 582 | | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
600 | 588 | | |
601 | 589 | | |
| 590 | + | |
602 | 591 | | |
603 | 592 | | |
604 | 593 | | |
| |||
Lines changed: 0 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | 361 | | |
377 | 362 | | |
378 | 363 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
137 | | - | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| 142 | + | |
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
| |||
513 | 515 | | |
514 | 516 | | |
515 | 517 | | |
| 518 | + | |
516 | 519 | | |
517 | 520 | | |
518 | 521 | | |
| |||
582 | 585 | | |
583 | 586 | | |
584 | 587 | | |
| 588 | + | |
585 | 589 | | |
586 | 590 | | |
587 | 591 | | |
| |||
671 | 675 | | |
672 | 676 | | |
673 | 677 | | |
| 678 | + | |
674 | 679 | | |
675 | 680 | | |
676 | 681 | | |
| |||
0 commit comments