mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Refactor PresentationSurfaceLevel.root into Display
This commit is contained in:
parent
70af4eb679
commit
794d92d12c
@ -7,6 +7,8 @@ public struct PresentationSurfaceLevel: RawRepresentable {
|
||||
public init(rawValue: Int32) {
|
||||
self.rawValue = rawValue
|
||||
}
|
||||
|
||||
public static let root = PresentationSurfaceLevel(rawValue: 0)
|
||||
}
|
||||
|
||||
public enum PresentationContextType {
|
||||
|
@ -2,7 +2,6 @@ import Foundation
|
||||
import Display
|
||||
|
||||
public extension PresentationSurfaceLevel {
|
||||
static let root = PresentationSurfaceLevel(rawValue: 0)
|
||||
static let calls = PresentationSurfaceLevel(rawValue: 1)
|
||||
static let overlayMedia = PresentationSurfaceLevel(rawValue: 2)
|
||||
static let notifications = PresentationSurfaceLevel(rawValue: 3)
|
||||
|
Loading…
x
Reference in New Issue
Block a user