Commit 483e115
fix: remove incorrect [weak self] from SwiftUI View closure
SwiftUI Views are structs (value types), not classes, so they cannot use
[weak self] capture lists. Removed the incorrect weak capture from the
linkAction closure in DashSpendTermsScreen.
This fixes the build error: "'weak' may only be applied to class and
class-bound protocol types, not 'DashSpendTermsScreen'"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 9761ddb commit 483e115
1 file changed
Lines changed: 3 additions & 3 deletions
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments