mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Group boosts
This commit is contained in:
@@ -1749,7 +1749,7 @@ public final class SharedAccountContextImpl: SharedAccountContext {
|
||||
}, displayGiveawayParticipationStatus: { _ in
|
||||
}, openPremiumStatusInfo: { _, _, _, _ in
|
||||
}, openRecommendedChannelContextMenu: { _, _, _ in
|
||||
}, openGroupBoostInfo: { _ in
|
||||
}, openGroupBoostInfo: { _, _ in
|
||||
}, requestMessageUpdate: { _, _ in
|
||||
}, cancelInteractiveKeyboardGestures: {
|
||||
}, dismissTextInput: {
|
||||
@@ -1939,6 +1939,8 @@ public final class SharedAccountContextImpl: SharedAccountContext {
|
||||
mappedSource = .storiesExpirationDurations
|
||||
case .storiesSuggestedReactions:
|
||||
mappedSource = .storiesSuggestedReactions
|
||||
case .storiesHigherQuality:
|
||||
mappedSource = .storiesHigherQuality
|
||||
case let .channelBoost(peerId):
|
||||
mappedSource = .channelBoost(peerId)
|
||||
case .nameColor:
|
||||
@@ -1951,6 +1953,8 @@ public final class SharedAccountContextImpl: SharedAccountContext {
|
||||
mappedSource = .presence
|
||||
case .readTime:
|
||||
mappedSource = .readTime
|
||||
case .messageTags:
|
||||
mappedSource = .messageTags
|
||||
}
|
||||
let controller = PremiumIntroScreen(context: context, modal: modal, source: mappedSource, forceDark: forceDark)
|
||||
controller.wasDismissed = dismissed
|
||||
@@ -1994,6 +1998,12 @@ public final class SharedAccountContextImpl: SharedAccountContext {
|
||||
mappedSubject = .colors
|
||||
case .wallpapers:
|
||||
mappedSubject = .wallpapers
|
||||
case .messageTags:
|
||||
mappedSubject = .messageTags
|
||||
case .lastSeen:
|
||||
mappedSubject = .lastSeen
|
||||
case .messagePrivacy:
|
||||
mappedSubject = .messagePrivacy
|
||||
}
|
||||
return PremiumDemoScreen(context: context, subject: mappedSubject, action: action)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user