Update WidgetDataStore.swift

This commit is contained in:
Marcos Rodriguez Vélez 2021-06-14 20:10:42 -04:00
parent d143b91899
commit 21f0f7e55c

View File

@ -14,7 +14,7 @@ extension Numeric {
let bytecountFormatter = ByteCountFormatter()
bytecountFormatter.zeroPadsFractionDigits = true
bytecountFormatter.countStyle = .decimal
bytecountFormatter.allowsNonnumericFormatting = true
bytecountFormatter.isAdaptive = false
let bytesString = bytecountFormatter.string(fromByteCount: (self as! NSNumber).int64Value)
let numericString = bytesString