Fix build

This commit is contained in:
Ilya Laktyushin 2025-03-08 00:18:08 +04:00
parent 8bf0663c08
commit fd46692b95
2 changed files with 7 additions and 0 deletions

View File

@ -79,6 +79,7 @@ public enum PresentationResourceKey: Int32 {
case itemListPremiumIcon case itemListPremiumIcon
case itemListRoundTopupIcon case itemListRoundTopupIcon
case itemListRoundWithdrawIcon case itemListRoundWithdrawIcon
case itemListStatsIcon
case statsReactionsIcon case statsReactionsIcon
case statsForwardsIcon case statsForwardsIcon

View File

@ -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)
})
}
} }