Theme fixes

This commit is contained in:
Ilya Laktyushin
2019-12-26 22:10:16 +03:00
parent 9d9571392e
commit 240d93c157
9 changed files with 43 additions and 29 deletions

View File

@@ -290,7 +290,7 @@ public func editThemeController(context: AccountContext, mode: EditThemeControll
if let wallpaper = wallpaper {
return theme.withUpdated(name: nil, defaultWallpaper: wallpaper.wallpaper)
} else {
return theme.withUpdated(name: nil, defaultWallpaper: .color(Int32(bitPattern: theme.chatList.backgroundColor.rgb)))
return theme.withUpdated(name: nil, defaultWallpaper: .color(Int32(bitPattern: theme.chatList.backgroundColor.argb)))
}
}))
} else {