mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Fix reaction limit tooltip
This commit is contained in:
parent
7f169c1f85
commit
9cbc416706
@ -4125,14 +4125,14 @@ public final class MediaEditorScreen: ViewController, UIDropInteractionDelegate
|
||||
|
||||
let content: UndoOverlayContent
|
||||
if context.isPremium {
|
||||
let value = presentationData.strings.Story_Editor_TooltipPremiumReactionLimitValue(premiumLimits.maxStoriesSuggestedReactions)
|
||||
let value = presentationData.strings.Story_Editor_TooltipPremiumReactionLimitValue(limit)
|
||||
content = .info(
|
||||
title: presentationData.strings.Story_Editor_TooltipReachedReactionLimitTitle,
|
||||
text: presentationData.strings.Story_Editor_TooltipReachedReactionLimitText(value).string,
|
||||
timeout: nil
|
||||
)
|
||||
} else {
|
||||
let value = presentationData.strings.Story_Editor_TooltipPremiumReactionLimitValue(limit)
|
||||
let value = presentationData.strings.Story_Editor_TooltipPremiumReactionLimitValue(premiumLimits.maxStoriesSuggestedReactions)
|
||||
content = .premiumPaywall(
|
||||
title: presentationData.strings.Story_Editor_TooltipPremiumReactionLimitTitle,
|
||||
text: presentationData.strings.Story_Editor_TooltipPremiumReactionLimitText(value).string,
|
||||
|
Loading…
x
Reference in New Issue
Block a user