Replace plain SF Symbols with Compound counterparts

This commit is contained in:
Stefan Ceriu
2026-05-25 20:31:42 +03:00
parent 15eb4a112e
commit c9317547f8
7 changed files with 16 additions and 18 deletions
@@ -6,6 +6,7 @@
// Please see LICENSE files in the repository root for full details.
//
import Compound
import SwiftUI
struct RoomListFiltersView: View {
@@ -63,9 +64,9 @@ struct RoomListFiltersView: View {
scrollViewProxy.scrollTo(leadingID, anchor: .leading)
}
}, label: {
Image(systemName: "xmark.circle.fill")
.font(.system(size: 24))
.foregroundColor(.compound.bgActionPrimaryRest)
CompoundIcon(\.close, size: .small, relativeTo: .compound.bodyLG)
.foregroundColor(.compound.iconOnSolidPrimary)
.background(Circle().fill(Color.compound.bgActionPrimaryRest))
})
.accessibilityLabel(L10n.screenRoomlistClearFilters)
}
@@ -32,9 +32,8 @@ struct HomeScreenNewSoundBanner: View {
.frame(maxWidth: .infinity, alignment: .leading)
Button(action: dismissAction) {
Image(systemName: "xmark")
CompoundIcon(\.close, size: .small, relativeTo: .compound.bodyMD)
.foregroundColor(.compound.iconSecondary)
.frame(width: 12, height: 12)
}
}
@@ -66,9 +66,8 @@ struct HomeScreenRecoveryKeyConfirmationBanner: View {
Button {
context.send(viewAction: .skipRecoveryKeyConfirmation)
} label: {
Image(systemName: "xmark")
CompoundIcon(\.close, size: .small, relativeTo: .compound.bodyMD)
.foregroundColor(.compound.iconSecondary)
.frame(width: 12, height: 12)
}
}
}