Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Update button's handler on every view update
Browse files Browse the repository at this point in the history
  • Loading branch information
david-swift committed Jan 6, 2024
1 parent ead8886 commit 731cb04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Adwaita/View/Button.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public struct Button: Widget {
if let icon {
content?.setIcon(icon)
}
_ = button.handler(handler)
}
}

Expand Down

0 comments on commit 731cb04

Please sign in to comment.