mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Add swiftgen build script for generating image and color assets.
This commit is contained in:
@@ -31,7 +31,7 @@ struct EventBasedTimelineView: View {
|
||||
Image(uiImage: avatar)
|
||||
.resizable()
|
||||
.scaledToFill()
|
||||
.overlay(Circle().stroke(Color.elementGreen))
|
||||
.overlay(Circle().stroke(Color(uiColor: Asset.Colors.elementGreen.color)))
|
||||
} else {
|
||||
PlaceholderAvatarImage(firstCharacter: String(firstLetter))
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ struct FormattedBodyText: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.tint(.elementGreen)
|
||||
.tint(Color(uiColor: Asset.Colors.elementGreen.color))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user