mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Replace plain SF Symbols with Compound counterparts
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user