Skip to content

Make sensor callbacks optional#3337

Open
EmmanuelDodoo wants to merge 1 commit into
iced-rs:masterfrom
EmmanuelDodoo:sensor
Open

Make sensor callbacks optional#3337
EmmanuelDodoo wants to merge 1 commit into
iced-rs:masterfrom
EmmanuelDodoo:sensor

Conversation

@EmmanuelDodoo
Copy link
Copy Markdown
Contributor

This PR makes the on_resize and on_show callbacks for the Sensor return an optional Message. This is useful when the provided size fails to meet a criteria required to produce a message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant