mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various improvements
This commit is contained in:
@@ -1850,7 +1850,7 @@ private class QrContentNode: ASDisplayNode, ContentNode {
|
||||
func update(theme: PresentationTheme, wallpaper: TelegramWallpaper, isDarkAppearance: Bool, selectedEmoticon: String?) {
|
||||
self.currentParams = (theme, wallpaper, isDarkAppearance, selectedEmoticon)
|
||||
|
||||
self.wallpaperBackgroundNode.update(wallpaper: wallpaper)
|
||||
self.wallpaperBackgroundNode.update(wallpaper: wallpaper, animated: false)
|
||||
|
||||
self.codeForegroundDimNode.alpha = isDarkAppearance ? 0.5 : 0.3
|
||||
|
||||
@@ -2185,7 +2185,7 @@ private class MessageContentNode: ASDisplayNode, ContentNode {
|
||||
func update(theme: PresentationTheme, wallpaper: TelegramWallpaper, isDarkAppearance: Bool, selectedEmoticon: String?) {
|
||||
self.currentParams = (theme, wallpaper, isDarkAppearance, selectedEmoticon)
|
||||
|
||||
self.wallpaperBackgroundNode.update(wallpaper: wallpaper)
|
||||
self.wallpaperBackgroundNode.update(wallpaper: wallpaper, animated: false)
|
||||
|
||||
self.linkBackgroundDimNode.alpha = isDarkAppearance ? 0.6 : 0.2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user