mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +00:00
11 lines
524 B
Swift
11 lines
524 B
Swift
import Foundation
|
|
import UIKit
|
|
import SolidRoundedButtonNode
|
|
import TelegramPresentationData
|
|
|
|
public extension SolidRoundedButtonTheme {
|
|
convenience init(theme: PresentationTheme) {
|
|
self.init(backgroundColor: theme.list.itemCheckColors.fillColor, backgroundColors: [], foregroundColor: theme.list.itemCheckColors.foregroundColor, disabledBackgroundColor: theme.list.plainBackgroundColor.mixedWith(theme.list.itemDisabledTextColor, alpha: 0.15), disabledForegroundColor: theme.list.itemDisabledTextColor)
|
|
}
|
|
}
|