Skip to content

Commit

Permalink
Merge pull request #628 from adevinta/component/checkbox_627
Browse files Browse the repository at this point in the history
[Checkbox#627] Fix state parameter.
  • Loading branch information
aycil-alican authored Nov 22, 2023
2 parents ebca448 + d934772 commit 4b45ae6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct ButtonComponentView: View {
text: "Is selected",
checkedImage: DemoIconography.shared.checkmark,
theme: self.theme,
state: .enabled,
isEnabled: true,
selectionState: self.$isSelected
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct Checkbox: View {
text: self.title,
checkedImage: DemoIconography.shared.checkmark,
theme: self.theme,
state: .enabled,
isEnabled: true,
selectionState: self.selectionState
)
}
Expand Down

0 comments on commit 4b45ae6

Please sign in to comment.