mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various fixes
This commit is contained in:
@@ -338,4 +338,11 @@ public enum DeviceMetrics: CaseIterable, Equatable {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
public var showAppBadge: Bool {
|
||||
if case .iPhoneX = self {
|
||||
return false
|
||||
}
|
||||
return self.hasTopNotch
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user