Merge #1417: gui(installer): re-add next button when starting managed bitcoind

322597f474a7b726540f28e383fb19c76e161d2b gui(installer): re-add next button (Michael Mallan)

Pull request description:

  This Next button was accidentally removed in commit bd03cc9cfffb7c5c45dd0dd60d54db807d4e02a2.

ACKs for top commit:
  pythcoiner:
    tACK 322597f

Tree-SHA512: 35e17d52b3ba9145078e7a70bc732792a21e6a903e49c16b5d3fa79cc9b4a6e69111029476b338f592402bfcfac12e2b9ff77fe57eaddb9a62f5a52870893698
This commit is contained in:
edouardparis 2024-11-04 09:58:28 +01:00
commit a061d8f3e2
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F

View File

@ -1360,7 +1360,17 @@ pub fn start_internal_bitcoind<'a>(
}
})
.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)))),
true,
Some(message::Message::InternalBitcoind(