Various improvements

This commit is contained in:
Ilya Laktyushin
2024-03-20 19:55:36 +04:00
parent a2b6e41fd2
commit 2acb93f386
12 changed files with 100 additions and 51 deletions

View File

@@ -5794,14 +5794,12 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
let _ = context.engine.accountData.updateBirthday(birthday: value).startStandalone()
//TODO:localize
let presentationData = self.context.sharedContext.currentPresentationData.with { $0 }
self.present(UndoOverlayController(presentationData: presentationData, content: .actionSucceeded(title: nil, text: self.presentationData.strings.Birthday_Added, cancel: nil, destructive: false), elevatedLayout: false, action: { _ in
return true
}), in: .current)
})
self.push(controller)
//self.present(controller, in: .current)
}
private var storyCameraTransitionInCoordinator: StoryCameraTransitionInCoordinator?