mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
UI improvements
This commit is contained in:
parent
62a431b12c
commit
9cfcc5d8ba
5 changed files with 11 additions and 12 deletions
|
|
@ -788,6 +788,9 @@ public final class ChatListSearchContainerNode: SearchDisplayControllerContentNo
|
|||
let topInset = navigationBarHeight
|
||||
|
||||
var filtersInsets = UIEdgeInsets(top: 0.0, left: 12.0, bottom: layout.insets(options: [.input]).bottom, right: 12.0)
|
||||
if filtersInsets.bottom == 84.0 {
|
||||
filtersInsets.bottom -= 6.0
|
||||
}
|
||||
if layout.insets(options: [.input]).bottom <= 30.0 {
|
||||
filtersInsets = ContainerViewLayout.concentricInsets(bottomInset: layout.insets(options: [.input]).bottom, innerDiameter: 40.0, sideInset: 32.0)
|
||||
} else if layout.insets(options: [.input]).bottom <= 84.0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue