mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +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:
@@ -51,7 +51,7 @@ struct RoomMemberDetailsScreen: View {
|
||||
if let permalink = context.viewState.details.permalink {
|
||||
HStack(spacing: 32) {
|
||||
ShareLink(item: permalink) {
|
||||
CompoundIcon(asset: Asset.Images.shareIos)
|
||||
CompoundIcon(\.shareIos)
|
||||
}
|
||||
.buttonStyle(FormActionButtonStyle(title: L10n.actionShare))
|
||||
}
|
||||
@@ -74,7 +74,7 @@ struct RoomMemberDetailsScreen: View {
|
||||
private var blockUserSection: some View {
|
||||
Section {
|
||||
ListRow(label: .default(title: blockUserButtonTitle,
|
||||
icon: CompoundIcon(asset: Asset.Images.block),
|
||||
icon: \.block,
|
||||
role: context.viewState.details.isIgnored ? nil : .destructive),
|
||||
details: .isWaiting(context.viewState.isProcessingIgnoreRequest),
|
||||
kind: .button {
|
||||
|
||||
Reference in New Issue
Block a user