diff --git a/TelegramUI/CallListController.swift b/TelegramUI/CallListController.swift index 6aa11944..106f9f7e 100644 --- a/TelegramUI/CallListController.swift +++ b/TelegramUI/CallListController.swift @@ -246,6 +246,7 @@ public final class CallListController: ViewController { self.controllerNode.updateState { state in return state.withUpdatedEditing(false) } + self.controllerNode.dismissAllRevealOptions() } private func call(_ peerId: PeerId, began: (() -> Void)? = nil) { diff --git a/TelegramUI/CallListControllerNode.swift b/TelegramUI/CallListControllerNode.swift index e0d44035..5103dc24 100644 --- a/TelegramUI/CallListControllerNode.swift +++ b/TelegramUI/CallListControllerNode.swift @@ -377,6 +377,10 @@ final class CallListControllerNode: ASDisplayNode { self.emptyStateDisposable.dispose() } + func dismissAllRevealOptions() { + listNode.dismissAllRevealOptions() + } + func updateThemeAndStrings(theme: PresentationTheme, strings: PresentationStrings, dateTimeFormat: PresentationDateTimeFormat, disableAnimations: Bool) { if theme !== self.currentState.theme || strings !== self.currentState.strings || disableAnimations != self.currentState.disableAnimations { switch self.mode {