mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Always show Translate in public channels for some languages
This commit is contained in:
@@ -502,6 +502,7 @@ public final class WebAppController: ViewController, AttachmentContainable {
|
||||
})
|
||||
|
||||
self.navigationBar?.updateBackgroundAlpha(0.0, transition: .immediate)
|
||||
self.updateTabBarAlpha(1.0, .immediate)
|
||||
}
|
||||
|
||||
override public func containerLayoutUpdated(_ layout: ContainerViewLayout, transition: ContainedViewLayoutTransition) {
|
||||
@@ -520,6 +521,10 @@ public final class WebAppController: ViewController, AttachmentContainable {
|
||||
public var mediaPickerContext: AttachmentMediaPickerContext? {
|
||||
return WebAppPickerContext(controller: self)
|
||||
}
|
||||
|
||||
public func prepareForReuse() {
|
||||
self.updateTabBarAlpha(1.0, .immediate)
|
||||
}
|
||||
}
|
||||
|
||||
final class WebAppPickerContext: AttachmentMediaPickerContext {
|
||||
|
||||
Reference in New Issue
Block a user