Skip to content

Commit fd46692

Browse files
committed
Fix build
1 parent 8bf0663 commit fd46692

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

‎submodules/TelegramPresentationData/Sources/Resources/PresentationResourceKey.swift

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public enum PresentationResourceKey: Int32 {
7979
case itemListPremiumIcon
8080
case itemListRoundTopupIcon
8181
case itemListRoundWithdrawIcon
82+
case itemListStatsIcon
8283

8384
case statsReactionsIcon
8485
case statsForwardsIcon

‎submodules/TelegramPresentationData/Sources/Resources/PresentationResourcesItemList.swift

+6
Original file line numberDiff line numberDiff line change
@@ -465,4 +465,10 @@ public struct PresentationResourcesItemList {
465465
})
466466
})
467467
}
468+
469+
public static func itemListStatsIcon(_ theme: PresentationTheme) -> UIImage? {
470+
return theme.image(PresentationResourceKey.itemListStatsIcon.rawValue, { theme in
471+
return generateTintedImage(image: UIImage(bundleImageName: "Premium/Stars/Stats"), color: .white)?.withRenderingMode(.alwaysTemplate)
472+
})
473+
}
468474
}

0 commit comments

Comments
 (0)