mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Fix build
This commit is contained in:
parent
bb9ce8dedb
commit
41402b8ea5
@ -82,7 +82,7 @@ public final class BoostLevelIconComponent: Component {
|
|||||||
|
|
||||||
func update(component: BoostLevelIconComponent, availableSize: CGSize, state: EmptyComponentState, environment: Environment<Empty>, transition: Transition) -> CGSize {
|
func update(component: BoostLevelIconComponent, availableSize: CGSize, state: EmptyComponentState, environment: Environment<Empty>, transition: Transition) -> CGSize {
|
||||||
if self.component != component {
|
if self.component != component {
|
||||||
self.imageView.image = generateDisclosureActionBoostLevelBadgeImage(text: component.strings.Channel_Appearance_BoostLevel("\(component.level)"))
|
self.imageView.image = generateDisclosureActionBoostLevelBadgeImage(text: component.strings.Channel_Appearance_BoostLevel("\(component.level)").string)
|
||||||
}
|
}
|
||||||
self.component = component
|
self.component = component
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user