diff --git a/submodules/PremiumUI/Sources/PremiumIntroScreen.swift b/submodules/PremiumUI/Sources/PremiumIntroScreen.swift index 9cb4597682..63a56524bb 100644 --- a/submodules/PremiumUI/Sources/PremiumIntroScreen.swift +++ b/submodules/PremiumUI/Sources/PremiumIntroScreen.swift @@ -2561,6 +2561,9 @@ private final class PremiumIntroScreenContentComponent: CombinedComponent { } size.height += scrollEnvironment.insets.bottom + if case .business = context.component.mode, state.isPremium == false { + size.height += 123.0 + } if context.component.source != .settings { size.height += 44.0 diff --git a/submodules/PremiumUI/Sources/PremiumLimitsListScreen.swift b/submodules/PremiumUI/Sources/PremiumLimitsListScreen.swift index 3f375d3fd9..b3a9510fc9 100644 --- a/submodules/PremiumUI/Sources/PremiumLimitsListScreen.swift +++ b/submodules/PremiumUI/Sources/PremiumLimitsListScreen.swift @@ -884,7 +884,7 @@ public class PremiumLimitsListScreen: ViewController { context: context, position: .top, model: .island, - videoFile: configuration.videos["greeting_message"], + videoFile: configuration.videos["quick_replies"], decoration: .business )), title: strings.Business_QuickReplies, diff --git a/submodules/TelegramUI/Components/ListActionItemComponent/Sources/ListActionItemComponent.swift b/submodules/TelegramUI/Components/ListActionItemComponent/Sources/ListActionItemComponent.swift index 7768a92c55..36fd9dc3a1 100644 --- a/submodules/TelegramUI/Components/ListActionItemComponent/Sources/ListActionItemComponent.swift +++ b/submodules/TelegramUI/Components/ListActionItemComponent/Sources/ListActionItemComponent.swift @@ -321,15 +321,16 @@ public final class ListActionItemComponent: Component { var arrowTransition = transition if let current = self.arrowView { arrowView = current + if themeUpdated { + arrowView.image = PresentationResourcesItemList.disclosureArrowImage(component.theme) + } } else { arrowTransition = arrowTransition.withAnimation(.none) - arrowView = UIImageView(image: PresentationResourcesItemList.disclosureArrowImage(component.theme)?.withRenderingMode(.alwaysTemplate)) + arrowView = UIImageView(image: PresentationResourcesItemList.disclosureArrowImage(component.theme)) self.arrowView = arrowView self.addSubview(arrowView) } - - arrowView.tintColor = component.theme.list.disclosureArrowColor - + if let image = arrowView.image { let arrowFrame = CGRect(origin: CGPoint(x: availableSize.width - 7.0 - image.size.width, y: floor((contentHeight - image.size.height) * 0.5)), size: image.size) arrowTransition.setFrame(view: arrowView, frame: arrowFrame)