mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
11 lines
328 B
Swift
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)
|
|
}
|
|
}
|