mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Merge commit 'e5f15bf0845cf520a2e62cc9a514e9b892fafb3f' into postbox-refactoring-1
This commit is contained in:
@@ -12,6 +12,7 @@ import AccountContext
|
||||
import TelegramNotices
|
||||
import ChatListSearchItemHeader
|
||||
import AnimatedStickerNode
|
||||
import TelegramAnimatedStickerNode
|
||||
import AppBundle
|
||||
|
||||
private struct CallListNodeListViewTransition {
|
||||
@@ -281,11 +282,8 @@ final class CallListControllerNode: ASDisplayNode {
|
||||
self.listNode.backgroundColor = presentationData.theme.list.blocksBackgroundColor
|
||||
}
|
||||
|
||||
|
||||
if let path = getAppBundle().path(forResource: "CallsPlaceholder", ofType: "tgs") {
|
||||
self.emptyAnimationNode.setup(source: AnimatedStickerNodeLocalFileSource(path: path), width: 256, height: 256, playbackMode: .loop, mode: .direct(cachePathPrefix: nil))
|
||||
self.emptyAnimationSize = CGSize(width: 148.0, height: 148.0)
|
||||
}
|
||||
self.emptyAnimationNode.setup(source: AnimatedStickerNodeLocalFileSource(name: "CallsPlaceholder"), width: 256, height: 256, playbackMode: .loop, mode: .direct(cachePathPrefix: nil))
|
||||
self.emptyAnimationSize = CGSize(width: 148.0, height: 148.0)
|
||||
|
||||
self.emptyButtonIconNode.image = generateTintedImage(image: UIImage(bundleImageName: "Call List/CallIcon"), color: presentationData.theme.list.itemAccentColor)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user