mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Theming fixes
This commit is contained in:
@@ -188,9 +188,8 @@ final class ThemeGridController: ViewController {
|
||||
} else {
|
||||
themeReference = current.theme
|
||||
}
|
||||
let accentColorIndex = current.themeSpecificAccentColors[themeReference.index]?.index ?? 0
|
||||
themeSpecificChatWallpapers[current.theme.index] = nil
|
||||
themeSpecificChatWallpapers[current.theme.index &+ Int64(accentColorIndex)] = nil
|
||||
themeSpecificChatWallpapers[themeReference.index] = nil
|
||||
themeSpecificChatWallpapers[coloredThemeIndex(reference: themeReference, accentColor: current.themeSpecificAccentColors[themeReference.index])] = nil
|
||||
return current.withUpdatedThemeSpecificChatWallpapers(themeSpecificChatWallpapers)
|
||||
})).start()
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user