Premium and business screens improvements

This commit is contained in:
Ilya Laktyushin
2024-02-29 01:35:52 +04:00
parent ce3a6c3202
commit 5ce85e7b75
7 changed files with 182 additions and 109 deletions

View File

@@ -2000,6 +2000,8 @@ public final class SharedAccountContextImpl: SharedAccountContext {
mappedSource = .readTime
case .messageTags:
mappedSource = .messageTags
case .folderTags:
mappedSource = .folderTags
}
let controller = PremiumIntroScreen(context: context, source: mappedSource, modal: modal, forceDark: forceDark)
controller.wasDismissed = dismissed
@@ -2049,6 +2051,8 @@ public final class SharedAccountContextImpl: SharedAccountContext {
mappedSubject = .lastSeen
case .messagePrivacy:
mappedSubject = .messagePrivacy
case .folderTags:
mappedSubject = .folderTags
default:
mappedSubject = .doubleLimits
}