Refactor PresentationSurfaceLevel.root into Display

This commit is contained in:
Peter 2019-08-01 15:51:18 +03:00
parent 70af4eb679
commit 794d92d12c
2 changed files with 2 additions and 1 deletions

View File

@ -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 {

View File

@ -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)