mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix build
This commit is contained in:
parent
8bf0663c08
commit
fd46692b95
@ -79,6 +79,7 @@ public enum PresentationResourceKey: Int32 {
|
||||
case itemListPremiumIcon
|
||||
case itemListRoundTopupIcon
|
||||
case itemListRoundWithdrawIcon
|
||||
case itemListStatsIcon
|
||||
|
||||
case statsReactionsIcon
|
||||
case statsForwardsIcon
|
||||
|
@ -465,4 +465,10 @@ public struct PresentationResourcesItemList {
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
public static func itemListStatsIcon(_ theme: PresentationTheme) -> UIImage? {
|
||||
return theme.image(PresentationResourceKey.itemListStatsIcon.rawValue, { theme in
|
||||
return generateTintedImage(image: UIImage(bundleImageName: "Premium/Stars/Stats"), color: .white)?.withRenderingMode(.alwaysTemplate)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user