mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various fixes
This commit is contained in:
@@ -2749,11 +2749,7 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
|
||||
tabsIsEmpty = true
|
||||
}
|
||||
|
||||
var displaySearchFilters = true
|
||||
if chatListView.0.entries.count < 10 {
|
||||
displaySearchFilters = false
|
||||
}
|
||||
|
||||
let displaySearchFilters = true
|
||||
if !tabsIsEmpty, let snapshotView = strongSelf.tabContainerNode.view.snapshotView(afterScreenUpdates: false) {
|
||||
snapshotView.frame = strongSelf.tabContainerNode.frame
|
||||
strongSelf.tabContainerNode.view.superview?.addSubview(snapshotView)
|
||||
|
||||
Reference in New Issue
Block a user