Update MarketData.swift

This commit is contained in:
Marcos Rodriguez Velez 2024-04-24 13:57:55 -04:00
parent 08fccdc9ee
commit ee67efbfaf
No known key found for this signature in database
GPG key ID: 6030B2F48CCE86D7

View file

@ -21,10 +21,10 @@ struct MarketData:Codable {
let numberFormatter = NumberFormatter()
numberFormatter.numberStyle = .decimal
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 = ""