mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Update compound and remove all of the temporary icons (#2419)
* Update compound and fix breaking changes. * Replace a lot of temporary icon assets with Compound versions. * Replace temporary composer icon assets with Compound versions. * Remove old icon asset from EI. * Use Compound icons where possible for hero images. * Snapshots
This commit is contained in:
@@ -33,7 +33,7 @@ struct LocationMarkerView: View {
|
||||
}
|
||||
|
||||
var mapMarker: some View {
|
||||
CompoundIcon(asset: Asset.Images.locationPinSolid)
|
||||
CompoundIcon(\.locationPinSolid)
|
||||
.dynamicTypeSize(.large)
|
||||
.foregroundStyle(pinColor)
|
||||
.padding(pinInsets)
|
||||
@@ -47,7 +47,7 @@ struct LocationMarkerView: View {
|
||||
}
|
||||
|
||||
var buttonMarker: some View {
|
||||
CompoundIcon(asset: Asset.Images.locationPinSolid, size: .custom(13), relativeTo: .body)
|
||||
CompoundIcon(\.locationPinSolid, size: .custom(13), relativeTo: .body)
|
||||
.foregroundStyle(pinColor)
|
||||
.scaledPadding(.top, pinInsets.top * buttonScale)
|
||||
.scaledPadding(.bottom, pinInsets.bottom * buttonScale)
|
||||
|
||||
Reference in New Issue
Block a user