[WIP] Topics

This commit is contained in:
Ali
2022-10-14 23:48:39 +04:00
parent 8838fe095c
commit d91c4a4b02
16 changed files with 222 additions and 54 deletions

View File

@@ -748,7 +748,9 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
editItem.accessibilityLabel = strongSelf.presentationData.strings.Common_Edit
strongSelf.navigationItem.setRightBarButton(editItem, animated: true)
case .forum:
strongSelf.navigationItem.setRightBarButton(strongSelf.moreBarButtonItem, animated: true)
if strongSelf.navigationItem.rightBarButtonItem !== strongSelf.moreBarButtonItem {
strongSelf.navigationItem.setRightBarButton(strongSelf.moreBarButtonItem, animated: true)
}
}
}