mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Various theme editing imrpovements
This commit is contained in:
@@ -1659,6 +1659,7 @@ extension PresentationThemeChat: Codable {
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case defaultWallpaper
|
||||
case message
|
||||
case animateMessageColors
|
||||
case serviceMessage
|
||||
case inputPanel
|
||||
case inputMediaPanel
|
||||
@@ -1677,6 +1678,7 @@ extension PresentationThemeChat: Codable {
|
||||
}
|
||||
|
||||
self.init(defaultWallpaper: wallpaper,
|
||||
animateMessageColors: (try? values.decode(Bool.self, forKey: .animateMessageColors)) ?? false,
|
||||
message: try values.decode(PresentationThemeChatMessage.self, forKey: .message),
|
||||
serviceMessage: try values.decode(PresentationThemeServiceMessage.self, forKey: .serviceMessage),
|
||||
inputPanel: try values.decode(PresentationThemeChatInputPanel.self, forKey: .inputPanel),
|
||||
|
||||
Reference in New Issue
Block a user