mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
Update MarketData.swift
This commit is contained in:
parent
08fccdc9ee
commit
ee67efbfaf
1 changed files with 2 additions and 2 deletions
|
@ -21,10 +21,10 @@ struct MarketData:Codable {
|
||||||
let numberFormatter = NumberFormatter()
|
let numberFormatter = NumberFormatter()
|
||||||
numberFormatter.numberStyle = .decimal
|
numberFormatter.numberStyle = .decimal
|
||||||
if let formattedNumber = numberFormatter.string(from: NSNumber(value: nextBlockInt)) {
|
if let formattedNumber = numberFormatter.string(from: NSNumber(value: nextBlockInt)) {
|
||||||
return "\(formattedNumber) sat/b"
|
return "\(formattedNumber) sat/vb"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "\(nextBlock) sat/b" // Fallback in case the nextBlock cannot be converted to an Int
|
return "\(nextBlock) sat/vb" // Fallback in case the nextBlock cannot be converted to an Int
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var dateString: String = ""
|
var dateString: String = ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue