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
8bf0663c08
commit
fd46692b95
@ -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
|
||||||
|
@ -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