mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Reduce Motion option to disable animations of chats/contacts/calls lists and chat bubbles
Fixed crash on profile photo removal Fixed several auto-download issues Fixed network usage calculation for videos Fixed several UI issues
This commit is contained in:
@@ -15,4 +15,12 @@ class ChatInputPanelNode: ASDisplayNode {
|
||||
func minimalHeight(interfaceState: ChatPresentationInterfaceState, metrics: LayoutMetrics) -> CGFloat {
|
||||
return 0.0
|
||||
}
|
||||
|
||||
func defaultHeight(metrics: LayoutMetrics) -> CGFloat {
|
||||
if case .regular = metrics.widthClass, case .regular = metrics.heightClass {
|
||||
return 49.0
|
||||
} else {
|
||||
return 45.0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user