mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various fixes
This commit is contained in:
@@ -198,6 +198,10 @@ enum DeviceModel: CaseIterable, Equatable {
|
||||
}
|
||||
}
|
||||
|
||||
var isIpad: Bool {
|
||||
return self.modelId.first?.hasPrefix("iPad") ?? false
|
||||
}
|
||||
|
||||
static let current = DeviceModel()
|
||||
|
||||
private init() {
|
||||
|
||||
Reference in New Issue
Block a user