Skip to content

Commit

Permalink
Merge #912: #858: Change text when downloading Bitcoin to include ver…
Browse files Browse the repository at this point in the history
…sion number

b4f505c Change text when downloading Bitcoin to include version number (Aaron Carlucci)

Pull request description:

  Simple text change to add bitcoind version number to download wording as per #858. First issue exploration.

ACKs for top commit:
  pythcoiner:
    ACK b4f505c
  jp1ac4:
    ACK b4f505c.

Tree-SHA512: 768941de9f308681b903235bc3f9dc6273bd1eac3cdc0b800e7ad1182c3468f37eb9e1169e4ccc79a4e465668d215b419d2e433754914a3a12447575dd693558
  • Loading branch information
darosior committed Jan 13, 2024
2 parents d8a5e1d + b4f505c commit 47f60bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gui/src/installer/view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,7 @@ pub fn start_internal_bitcoind<'a>(
download_state: Option<&DownloadState>,
install_state: Option<&InstallState>,
) -> Element<'a, Message> {
let version = crate::bitcoind::VERSION;
let mut next_button = button::primary(None, "Next").width(Length::Fixed(200.0));
if let Some(Ok(_)) = started {
next_button = next_button.on_press(Message::Next);
Expand All @@ -1043,7 +1044,9 @@ pub fn start_internal_bitcoind<'a>(
DownloadState::Downloading { progress } => Row::new()
.spacing(10)
.align_items(Alignment::Center)
.push(text(format!("Downloading... {progress:.2}%"))),
.push(text(format!(
"Downloading Bitcoin Core {version}... {progress:.2}%"
))),
DownloadState::Errored(e) => Row::new()
.spacing(10)
.align_items(Alignment::Center)
Expand Down

0 comments on commit 47f60bf

Please sign in to comment.