mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various Improvements
This commit is contained in:
@@ -115,7 +115,9 @@ public final class CallListController: TelegramBaseController {
|
||||
self.tabBarItem.title = self.presentationData.strings.Calls_TabTitle
|
||||
self.tabBarItem.image = icon
|
||||
self.tabBarItem.selectedImage = icon
|
||||
self.tabBarItem.animationName = "TabCalls"
|
||||
if !self.presentationData.reduceMotion {
|
||||
self.tabBarItem.animationName = "TabCalls"
|
||||
}
|
||||
}
|
||||
|
||||
self.segmentedTitleView.indexUpdated = { [weak self] index in
|
||||
@@ -166,6 +168,11 @@ public final class CallListController: TelegramBaseController {
|
||||
self.segmentedTitleView.index = index
|
||||
|
||||
self.tabBarItem.title = self.presentationData.strings.Calls_TabTitle
|
||||
if !self.presentationData.reduceMotion {
|
||||
self.tabBarItem.animationName = "TabCalls"
|
||||
} else {
|
||||
self.tabBarItem.animationName = nil
|
||||
}
|
||||
self.navigationItem.backBarButtonItem = UIBarButtonItem(title: self.presentationData.strings.Common_Back, style: .plain, target: nil, action: nil)
|
||||
switch self.mode {
|
||||
case .tab:
|
||||
|
||||
Reference in New Issue
Block a user