forked from MeloNX/MeloNX
FIx Memory being +1 GB
This commit is contained in:
parent
ebe1d183ef
commit
85ad96109e
Binary file not shown.
@ -544,9 +544,9 @@ struct SettingsView: View {
|
|||||||
labelWithIcon("Device: \(getDeviceModel())", iconName: iconName)
|
labelWithIcon("Device: \(getDeviceModel())", iconName: iconName)
|
||||||
|
|
||||||
if ProcessInfo.processInfo.isiOSAppOnMac {
|
if ProcessInfo.processInfo.isiOSAppOnMac {
|
||||||
labelWithIcon("Device Memory: \(String(format: "%.0f GB", Double(totalMemory) / (1024 * 1024 * 1024)))", iconName: "memorychip.fill")
|
labelWithIcon("Memory: \(String(format: "%.0f GB", Double(totalMemory) / (1024 * 1024 * 1024)))", iconName: "memorychip.fill")
|
||||||
} else {
|
} else {
|
||||||
labelWithIcon("Device Memory: \(String(format: "%.0f GB", (Double(totalMemory) / (1024 * 1024 * 1024) + 1)))", iconName: "memorychip.fill")
|
labelWithIcon("Device Memory: \(String(format: "%.0f GB", Double(totalMemory) / (1024 * 1024 * 1024)))", iconName: "memorychip.fill")
|
||||||
}
|
}
|
||||||
|
|
||||||
labelWithIcon("\(deviceType) \(UIDevice.current.systemVersion)", iconName: "applelogo")
|
labelWithIcon("\(deviceType) \(UIDevice.current.systemVersion)", iconName: "applelogo")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user