Cloud themes support

This commit is contained in:
Ilya Laktyushin
2019-08-24 06:19:55 +03:00
parent 5d86aaa057
commit ddf709ab5b
79 changed files with 1475 additions and 749 deletions

View File

@@ -20,7 +20,7 @@ private func generateBorderImage(theme: PresentationTheme, bordered: Bool, selec
let lineWidth: CGFloat
if selected {
var accentColor = theme.list.itemAccentColor
if accentColor.rgb == UIColor.white.rgb {
if accentColor.rgb == 0xffffff {
accentColor = UIColor(rgb: 0x999999)
}
context.setStrokeColor(accentColor.cgColor)