mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 19:30:29 +00:00
Various Improvements
This commit is contained in:
parent
9aaa2eb516
commit
24fc19f5fd
@ -7096,3 +7096,5 @@ Sorry for the inconvenience.";
|
||||
"ChatList.ClearSearchHistory" = "Are you sure you want to clear your search history?";
|
||||
|
||||
"AuthSessions.TerminateSessionText" = "Are you sure you want to terminate this session?";
|
||||
|
||||
"Notifications.ResetAllNotificationsText" = "Are you sure you want to reset all notification settings to default?";
|
||||
|
||||
@ -671,6 +671,7 @@ public func notificationsAndSoundsController(context: AccountContext, exceptions
|
||||
let presentationData = context.sharedContext.currentPresentationData.with { $0 }
|
||||
let actionSheet = ActionSheetController(presentationData: presentationData)
|
||||
actionSheet.setItemGroups([ActionSheetItemGroup(items: [
|
||||
ActionSheetTextItem(title: presentationData.strings.Notifications_ResetAllNotificationsText),
|
||||
ActionSheetButtonItem(title: presentationData.strings.Notifications_Reset, color: .destructive, action: { [weak actionSheet] in
|
||||
actionSheet?.dismissAnimated()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user