mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-17 03:40:18 +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";
|
"AuthSessions.AddDevice.ScanInstallInfo" = "Go to [getdesktop.telegram.org](desktop) or [web.telegram.org](web) to get the QR code";
|
||||||
|
|
||||||
"Channel.AdminLog.MessageSent" = "%@ sent message:";
|
"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 presentationData = strongSelf.presentationData
|
||||||
let actionSheet = ActionSheetController(presentationData: presentationData)
|
let actionSheet = ActionSheetController(presentationData: presentationData)
|
||||||
actionSheet.setItemGroups([ActionSheetItemGroup(items: [
|
actionSheet.setItemGroups([ActionSheetItemGroup(items: [
|
||||||
|
ActionSheetTextItem(title: presentationData.strings.ChatList_ClearSearchHistory),
|
||||||
ActionSheetButtonItem(title: presentationData.strings.WebSearch_RecentSectionClear, color: .destructive, action: { [weak self, weak actionSheet] in
|
ActionSheetButtonItem(title: presentationData.strings.WebSearch_RecentSectionClear, color: .destructive, action: { [weak self, weak actionSheet] in
|
||||||
actionSheet?.dismissAnimated()
|
actionSheet?.dismissAnimated()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user