Merge #1465: Use 2 decimal for sync progression in home page

5d65a4e1253a7f8312641523981ec90344ffb9ac Use 2 decimal for sync progression in home page (thomas)

Pull request description:

  Solves #907

ACKs for top commit:
  pythcoiner:
    ACK [5d65a4e](5d65a4e125)

Tree-SHA512: 677a132d42f426a37e30829e8a91bc6e7f258d3cfe808d4f0b5cadd1951b3cccd75527574200cf5e2319cf90e6ff5e6e88f387c457123cb9d556c81da458fe12
This commit is contained in:
edouardparis 2024-11-18 09:16:47 +01:00
commit 8e1831366d
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F

View File

@ -63,7 +63,7 @@ pub fn home_view<'a>(
.push(
match sync_status {
SyncStatus::BlockchainSync(progress) => text(format!(
"Syncing blockchain ({:.1}%)",
"Syncing blockchain ({:.2}%)",
100.0 * *progress
)),
SyncStatus::WalletFullScan => text("Syncing"),