Swiftgram/submodules/PresentationDataUtils/Sources/OverlayStatusController.swift
2019-10-07 17:03:41 +04:00

11 lines
328 B
Swift

import Foundation
import UIKit
import OverlayStatusController
import TelegramPresentationData
public extension OverlayStatusController {
convenience init(theme: PresentationTheme, type: OverlayStatusControllerType) {
self.init(style: theme.actionSheet.backgroundType == .light ? .light : .dark, type: type)
}
}