Various fixes

This commit is contained in:
Ilya Laktyushin
2022-10-23 21:42:56 +03:00
parent 9e01a4fa23
commit 2a703ff52a
2 changed files with 9 additions and 2 deletions

View File

@@ -338,4 +338,11 @@ public enum DeviceMetrics: CaseIterable, Equatable {
return false
}
}
public var showAppBadge: Bool {
if case .iPhoneX = self {
return false
}
return self.hasTopNotch
}
}