Add venues list in location group creation

This commit is contained in:
Ilya Laktyushin
2019-11-16 08:27:56 +04:00
parent 349e911e24
commit 8ebefb813d
34 changed files with 4797 additions and 4072 deletions

View File

@@ -486,7 +486,7 @@ public final class AvatarNode: ASDisplayNode {
context.scaleBy(x: 1.0, y: -1.0)
context.translateBy(x: -bounds.size.width / 2.0, y: -bounds.size.height / 2.0)
if let editAvatarIcon = generateTintedImage(image: UIImage(bundleImageName: "Avatar/EditAvatarIcon"), color: theme.list.freeMonoIconColor) {
if let editAvatarIcon = generateTintedImage(image: UIImage(bundleImageName: "Avatar/EditAvatarIcon"), color: theme.list.itemAccentColor) {
context.draw(editAvatarIcon.cgImage!, in: CGRect(origin: CGPoint(x: floor((bounds.size.width - editAvatarIcon.size.width) / 2.0), y: floor((bounds.size.height - editAvatarIcon.size.height) / 2.0)), size: editAvatarIcon.size))
}
} else if case .archivedChatsIcon = parameters.icon {