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:
Doug
2024-02-05 16:03:13 +00:00
committed by GitHub
parent 0bd52f10d6
commit e80612b968
216 changed files with 306 additions and 1342 deletions
@@ -52,7 +52,7 @@ struct LoginScreen: View {
/// The header containing the title and icon.
var header: some View {
VStack(spacing: 8) {
HeroImage(image: Image(systemName: "lock.fill"))
HeroImage(icon: \.lockSolid)
.padding(.bottom, 8)
Text(L10n.screenLoginTitleWithHomeserver(context.viewState.homeserver.address))
@@ -35,7 +35,8 @@ struct ServerConfirmationScreen: View {
/// The main content of the view to be shown in a scroll view.
var header: some View {
VStack(spacing: 8) {
HeroImage(image: Image(systemName: "person.crop.circle.fill"))
Image(systemSymbol: .personCropCircleFill)
.heroImage()
.padding(.bottom, 8)
Text(context.viewState.title)
@@ -40,7 +40,8 @@ struct ServerSelectionScreen: View {
/// The title, message and icon at the top of the screen.
var header: some View {
VStack(spacing: 8) {
HeroImage(image: Image(asset: Asset.Images.serverSelectionIcon), insets: 19)
Image(asset: Asset.Images.serverSelectionIcon)
.heroImage(insets: 19)
.padding(.bottom, 8)
Text(L10n.screenChangeServerTitle)