mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Replace plain SF Symbols with Compound counterparts
This commit is contained in:
+4
-5
@@ -6,6 +6,7 @@
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
import Compound
|
||||
import SwiftUI
|
||||
|
||||
struct RoomChangeRolesScreenSelectedItem: View {
|
||||
@@ -48,11 +49,9 @@ struct RoomChangeRolesScreenSelectedItem: View {
|
||||
.overlay(alignment: .topTrailing) {
|
||||
if let dismissAction {
|
||||
Button(action: dismissAction) {
|
||||
Image(systemName: "xmark.circle.fill")
|
||||
.resizable()
|
||||
.scaledFrame(size: 20)
|
||||
.symbolRenderingMode(.palette)
|
||||
.foregroundStyle(Color.compound.iconOnSolidPrimary, Color.compound.iconPrimary)
|
||||
CompoundIcon(\.close, size: .xSmall, relativeTo: .compound.bodyMD)
|
||||
.foregroundColor(.compound.iconOnSolidPrimary)
|
||||
.background(Circle().fill(Color.compound.iconPrimary))
|
||||
}
|
||||
// We will use the accessibility action
|
||||
.accessibilityHidden(true)
|
||||
|
||||
Reference in New Issue
Block a user