fix: icon fill color not white issue

This commit is contained in:
CMK 2021-06-16 15:26:21 +08:00
parent 58b3cdd77d
commit adf0405c3f
1 changed files with 1 additions and 2 deletions

View File

@ -93,11 +93,10 @@ final class MastodonRegisterViewController: UIViewController, NeedsDependency, O
let plusIconImageView: UIImageView = { let plusIconImageView: UIImageView = {
let icon = UIImageView() let icon = UIImageView()
let image = Asset.Circles.plusCircleFill.image.withRenderingMode(.alwaysTemplate) let image = Asset.Circles.plusCircleFill.image.withRenderingMode(.alwaysTemplate)
icon.image = image icon.image = image
icon.tintColor = Asset.Colors.Icon.plus.color icon.tintColor = Asset.Colors.Icon.plus.color
icon.backgroundColor = Asset.Colors.Background.systemGroupedBackground.color icon.backgroundColor = .white
return icon return icon
}() }()