mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 18:59:54 +00:00
Add explanation text in recent search clear alert
This commit is contained in:
parent
80bc5b6947
commit
e2f8f225af
@ -7092,3 +7092,5 @@ Sorry for the inconvenience.";
|
||||
"AuthSessions.AddDevice.ScanInstallInfo" = "Go to [getdesktop.telegram.org](desktop) or [web.telegram.org](web) to get the QR code";
|
||||
|
||||
"Channel.AdminLog.MessageSent" = "%@ sent message:";
|
||||
|
||||
"ChatList.ClearSearchHistory" = "Are you sure you want to clear your search history?";
|
||||
|
||||
@ -185,6 +185,7 @@ public final class ChatListSearchContainerNode: SearchDisplayControllerContentNo
|
||||
let presentationData = strongSelf.presentationData
|
||||
let actionSheet = ActionSheetController(presentationData: presentationData)
|
||||
actionSheet.setItemGroups([ActionSheetItemGroup(items: [
|
||||
ActionSheetTextItem(title: presentationData.strings.ChatList_ClearSearchHistory),
|
||||
ActionSheetButtonItem(title: presentationData.strings.WebSearch_RecentSectionClear, color: .destructive, action: { [weak self, weak actionSheet] in
|
||||
actionSheet?.dismissAnimated()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user