Various fixes

This commit is contained in:
Ilya Laktyushin
2023-01-23 19:30:19 +04:00
parent ab9bc3e655
commit aeb924b5ff
11 changed files with 165 additions and 30 deletions

View File

@@ -1507,6 +1507,8 @@ public final class SharedAccountContextImpl: SharedAccountContext {
mappedSource = .voiceToText
case .fasterDownload:
mappedSource = .fasterDownload
case .translation:
mappedSource = .translation
}
return PremiumIntroScreen(context: context, source: mappedSource)
}
@@ -1540,6 +1542,8 @@ public final class SharedAccountContextImpl: SharedAccountContext {
mappedSubject = .animatedEmoji
case .emojiStatus:
mappedSubject = .emojiStatus
case .translation:
mappedSubject = .translation
}
return PremiumDemoScreen(context: context, subject: mappedSubject, action: action)
}