Fix modal and toast examples

This commit is contained in:
Héctor Ramón Jiménez 2023-11-21 18:55:53 +01:00
parent a1439071d6
commit 89e3de7c08
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 3 additions and 0 deletions

View file

@ -511,6 +511,7 @@ mod toast {
renderer: &Renderer,
bounds: Size,
position: Point,
_translation: Vector,
) -> layout::Node {
let limits = layout::Limits::new(Size::ZERO, bounds)
.width(Length::Fill)