mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various improvements
This commit is contained in:
@@ -212,6 +212,14 @@ public final class ChatTextInputMediaRecordingButton: TGModernConversationInputM
|
||||
}
|
||||
}
|
||||
|
||||
public var hidesOnLock: Bool = false {
|
||||
didSet {
|
||||
if self.hidesOnLock {
|
||||
self.setHidesPanelOnLock()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private func updateShadow() {
|
||||
if let view = self.animationView.view {
|
||||
if self.hasShadow {
|
||||
@@ -340,8 +348,6 @@ public final class ChatTextInputMediaRecordingButton: TGModernConversationInputM
|
||||
|
||||
self.updateMode(mode: self.mode, animated: false, force: true)
|
||||
|
||||
self.setHidesPanelOnLock()
|
||||
|
||||
self.delegate = self
|
||||
self.isExclusiveTouch = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user