Merge #717: installer: show message when starting already-installed bitcoind
7079c6f82b89bdd968b21a6b8bce37cff7e51d89 installer: show message when starting bitcoind (jp1ac4) Pull request description: This is to resolve #714. The "Starting..." message will now be shown also in case bitcoind was already installed on a previous occasion:  ACKs for top commit: edouardparis: ACK 7079c6f82b89bdd968b21a6b8bce37cff7e51d89 Tree-SHA512: 86d843208b0fa16eb9bc489b3e283ad1deb8e4aecf7743a7e124a23a4809c06d8b0dc8bc4fa68b6204f6ff0cede431b9799cda3d5d68e58720764b7fd089fb40
This commit is contained in:
commit
ab5afcf75a
@ -1064,15 +1064,17 @@ pub fn start_internal_bitcoind<'a>(
|
||||
)
|
||||
}
|
||||
})
|
||||
} else if let Some(InstallState::Finished) = install_state {
|
||||
Some(Container::new(
|
||||
Row::new()
|
||||
.spacing(10)
|
||||
.align_items(Alignment::Center)
|
||||
.push(text("Starting...")),
|
||||
))
|
||||
} else {
|
||||
Some(Container::new(Space::with_height(Length::Fixed(25.0))))
|
||||
match (install_state, exe_path) {
|
||||
// We have either just installed bitcoind or it was already installed.
|
||||
(Some(InstallState::Finished), _) | (None, Some(_)) => Some(Container::new(
|
||||
Row::new()
|
||||
.spacing(10)
|
||||
.align_items(Alignment::Center)
|
||||
.push(text("Starting...")),
|
||||
)),
|
||||
_ => Some(Container::new(Space::with_height(Length::Fixed(25.0)))),
|
||||
}
|
||||
})
|
||||
.spacing(50)
|
||||
.push(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user