composed the view better to use same data for preview and present

This commit is contained in:
Chris Cochrun 2024-11-17 06:54:57 -06:00
parent 0607ccb78d
commit e1a397c192
2 changed files with 12 additions and 10 deletions

View file

@ -130,10 +130,10 @@ impl Presenter {
}
}
};
let stack = stack!(container, text)
stack!(container, text)
.width(Length::Fill)
.height(Length::Fill);
stack.into()
.height(Length::Fill)
.into()
}
}