mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Energy settings
This commit is contained in:
@@ -14,10 +14,6 @@ public enum DeviceMetrics: CaseIterable, Equatable {
|
||||
var cpuCount: UInt32 = 0
|
||||
sysctlbyname("hw.ncpu", &cpuCount, &length, nil, 0)
|
||||
|
||||
#if DEBUG
|
||||
cpuCount = 2
|
||||
#endif
|
||||
|
||||
self.isGraphicallyCapable = cpuCount >= 6
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user