mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix media search results header title
This commit is contained in:
parent
63679c0d46
commit
5806fef191
4 changed files with 3584 additions and 3572 deletions
|
|
@ -5759,6 +5759,13 @@ Any member of this group will be able to see messages in the channel.";
|
|||
"ChatList.Search.Messages_many" = "%@ messages";
|
||||
"ChatList.Search.Messages_any" = "%@ messages";
|
||||
|
||||
"ChatList.Search.Photos_0" = "%@ photos";
|
||||
"ChatList.Search.Photos_1" = "%@ photo";
|
||||
"ChatList.Search.Photos_2" = "%@ photos";
|
||||
"ChatList.Search.Photos_3_10" = "%@ photos";
|
||||
"ChatList.Search.Photos_many" = "%@ photos";
|
||||
"ChatList.Search.Photos_any" = "%@ photos";
|
||||
|
||||
"ChatList.Search.Links_0" = "%@ links";
|
||||
"ChatList.Search.Links_1" = "%@ link";
|
||||
"ChatList.Search.Links_2" = "%@ links";
|
||||
|
|
|
|||
|
|
@ -698,7 +698,7 @@ final class ChatListSearchMediaNode: ASDisplayNode, UIScrollViewDelegate {
|
|||
|
||||
if let (size, sideInset, bottomInset, visibleHeight, isScrollingLockedAtTop, expandProgress, presentationData) = self.currentParams {
|
||||
if totalCount > 0 {
|
||||
self.headerNode.title = presentationData.strings.ChatList_Search_Messages(totalCount).uppercased()
|
||||
self.headerNode.title = presentationData.strings.ChatList_Search_Photos(totalCount).uppercased()
|
||||
}
|
||||
|
||||
self.update(size: size, sideInset: sideInset, bottomInset: bottomInset, visibleHeight: visibleHeight, isScrollingLockedAtTop: isScrollingLockedAtTop, expandProgress: expandProgress, presentationData: presentationData, synchronous: true, transition: .immediate)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue