mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-29 03:21:29 +00:00
Add premium info
This commit is contained in:
parent
1cd94e91fd
commit
c8123be9a3
@ -10969,3 +10969,6 @@ Sorry for the inconvenience.";
|
||||
"Chat.PrivateMessageSeenTimestamp.Date" = "read %@";
|
||||
"Chat.PrivateMessageSeenTimestamp.TodayAt" = "read today at %@";
|
||||
"Chat.PrivateMessageSeenTimestamp.YesterdayAt" = "read yesterday at %@";
|
||||
|
||||
"Settings.Privacy.ReadTimePremiumActive" = "Subcribed to Telegram Premium";
|
||||
"Settings.Privacy.ReadTimePremiumActiveFooter" = "Because you are a Telegram Premium subscriber, you will see the last seen and read time of all users who are sharing it with you – even if you are hiding yours.";
|
||||
|
||||
@ -865,6 +865,9 @@ private func selectivePrivacySettingsControllerEntries(presentationData: Present
|
||||
if !peer.isPremium {
|
||||
entries.append(.subscribeToPremium(presentationData.theme, presentationData.strings.Settings_Privacy_ReadTimePremium))
|
||||
entries.append(.subscribeToPremiumInfo(presentationData.theme, presentationData.strings.Settings_Privacy_ReadTimePremiumFooter))
|
||||
} else {
|
||||
entries.append(.subscribeToPremium(presentationData.theme, presentationData.strings.Settings_Privacy_ReadTimePremiumActive))
|
||||
entries.append(.subscribeToPremiumInfo(presentationData.theme, presentationData.strings.Settings_Privacy_ReadTimePremiumActiveFooter))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user