diff --git a/submodules/Display/Display/PresentationContext.swift b/submodules/Display/Display/PresentationContext.swift index ef14a61fdf..9a8367a7bc 100644 --- a/submodules/Display/Display/PresentationContext.swift +++ b/submodules/Display/Display/PresentationContext.swift @@ -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 { diff --git a/submodules/TelegramUI/TelegramUI/PresentationSurfaceLevels.swift b/submodules/TelegramUI/TelegramUI/PresentationSurfaceLevels.swift index 186255ed3e..4d02e324fb 100644 --- a/submodules/TelegramUI/TelegramUI/PresentationSurfaceLevels.swift +++ b/submodules/TelegramUI/TelegramUI/PresentationSurfaceLevels.swift @@ -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)