Instagram-SWUI/ContentView.swift:75:32 Conflicting arguments to generic parameter 'Result' ('@MainActor () -> Void' vs. '() -> ()') #10

Open
opened 2025-12-29 04:20:10 +01:00 by adam · 0 comments
Owner

Originally created by @fqclovelal on GitHub (Mar 28, 2025).

Originally assigned to: @ivanvorobei on GitHub.

Describe the problem
A clear and concise description of what the problem is.
Button(action: withAnimation { likeButtonPressed }, label: {
Text( self.liked ? "❤️" :"💔")
})

Originally created by @fqclovelal on GitHub (Mar 28, 2025). Originally assigned to: @ivanvorobei on GitHub. **Describe the problem** A clear and concise description of what the problem is. Button(action: withAnimation { likeButtonPressed }, label: { Text( self.liked ? "❤️" :"💔") })
adam added the bug label 2025-12-29 04:20:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/SwiftUI#10