From 2260c9b0b2a2e4e42df5d703011e57aa95cc6cf7 Mon Sep 17 00:00:00 2001 From: Nindi Gill Date: Sun, 11 Dec 2022 22:42:48 +1100 Subject: [PATCH] Update size properties to UInt64 for CSV exports --- Mist/Extensions/Dictionary+Extension.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mist/Extensions/Dictionary+Extension.swift b/Mist/Extensions/Dictionary+Extension.swift index b54fb6c..ed43a2e 100644 --- a/Mist/Extensions/Dictionary+Extension.swift +++ b/Mist/Extensions/Dictionary+Extension.swift @@ -16,7 +16,7 @@ extension Dictionary where Key == String { let name: String = self["name"] as? String, let version: String = self["version"] as? String, let build: String = self["build"] as? String, - let size: Int64 = self["size"] as? Int64, + let size: UInt64 = self["size"] as? UInt64, let date: String = self["date"] as? String, let compatible: Bool = self["compatible"] as? Bool else { return "" @@ -32,7 +32,7 @@ extension Dictionary where Key == String { let name: String = self["name"] as? String, let version: String = self["version"] as? String, let build: String = self["build"] as? String, - let size: Int64 = self["size"] as? Int64, + let size: UInt64 = self["size"] as? UInt64, let date: String = self["date"] as? String, let compatible: Bool = self["compatible"] as? Bool else { return ""