gui(installer): re-add next button
This Next button was accidentally removed in commit bd03cc9cfffb7c5c45dd0dd60d54db807d4e02a2. This re-adds the button with some code refactoring.
This commit is contained in:
parent
cbc46e9e26
commit
322597f474
@ -1360,7 +1360,17 @@ pub fn start_internal_bitcoind<'a>(
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
.spacing(50)
|
.spacing(50)
|
||||||
.push(Row::new())
|
.push(
|
||||||
|
Row::new().push(
|
||||||
|
button::secondary(None, "Next")
|
||||||
|
.width(Length::Fixed(200.0))
|
||||||
|
.on_press_maybe(if let Some(Ok(_)) = started {
|
||||||
|
Some(Message::Next)
|
||||||
|
} else {
|
||||||
|
None
|
||||||
|
}),
|
||||||
|
),
|
||||||
|
)
|
||||||
.push_maybe(error.map(|e| card::invalid(text(e)))),
|
.push_maybe(error.map(|e| card::invalid(text(e)))),
|
||||||
true,
|
true,
|
||||||
Some(message::Message::InternalBitcoind(
|
Some(message::Message::InternalBitcoind(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user