Instant View: reference view, scroll position saving, overlay progresses for photos and more

This commit is contained in:
Ilya Laktyushin
2018-11-27 21:28:38 +04:00
parent 394b204f29
commit 3a0d33ef7d
66 changed files with 4032 additions and 3299 deletions

View File

@@ -365,7 +365,7 @@ final class ChatMessageInteractiveFileNode: ASDisplayNode {
if hasThumbnail {
fileIconImage = nil
} else {
let principalGraphics = PresentationResourcesChat.principalGraphics(presentationData.theme.theme, wallpaper: !presentationData.theme.wallpaper.isEmpty)
let principalGraphics = PresentationResourcesChat.principalGraphics(presentationData.theme.theme, wallpaper: presentationData.theme.wallpaper)
fileIconImage = incoming ? principalGraphics.radialIndicatorFileIconIncoming : principalGraphics.radialIndicatorFileIconOutgoing
}