mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
fix: make compact rail top spacer noninteractive
This commit is contained in:
parent
97cd6a8162
commit
afe5370e42
1 changed files with 4 additions and 0 deletions
|
|
@ -306,6 +306,10 @@ final class ChatListContainerItemNode: ASDisplayNode {
|
|||
|
||||
var listInsets = insets
|
||||
var additionalTopInset: CGFloat = 0.0
|
||||
let isCompactAvatarRail = size.width <= 160.0
|
||||
if isCompactAvatarRail {
|
||||
listInsets.top += 74.0
|
||||
}
|
||||
|
||||
if let chatFolderUpdates = self.chatFolderUpdates {
|
||||
let topPanel: TopPanelItem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue