installer: wait process is done before next step

This commit is contained in:
edouard 2022-11-29 17:00:03 +01:00
parent 0577b971b7
commit 59c12cd584

View File

@ -361,11 +361,13 @@ pub fn register_descriptor<'a>(
)
.width(Length::Fill),
)
.push(
.push(if processing {
button::primary(None, "Next").width(Length::Units(200))
} else {
button::primary(None, "Next")
.on_press(Message::Next)
.width(Length::Units(200)),
)
.width(Length::Units(200))
})
.width(Length::Fill)
.height(Length::Fill)
.padding(100)