forked from aparoksha/adwaita-swift
Update button's handler on every view update
This commit is contained in:
parent
ead88864df
commit
731cb04f83
@ -56,6 +56,7 @@ public struct Button: Widget {
|
|||||||
if let icon {
|
if let icon {
|
||||||
content?.setIcon(icon)
|
content?.setIcon(icon)
|
||||||
}
|
}
|
||||||
|
_ = button.handler(handler)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user