From 21583837490020fce38317e4ebb83f2bf0b10d2c Mon Sep 17 00:00:00 2001 From: Sjmarf <78750526+Sjmarf@users.noreply.github.com> Date: Tue, 26 Sep 2023 21:58:24 +0100 Subject: [PATCH] Icon --- Mlem/Icons.swift | 1 + Mlem/Views/Shared/Components/ImageUploadView.swift | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Mlem/Icons.swift b/Mlem/Icons.swift index 8f033bb42..09d719ca4 100644 --- a/Mlem/Icons.swift +++ b/Mlem/Icons.swift @@ -127,6 +127,7 @@ struct Icons { static let time: String = "clock" static let favorite: String = "star" static let favoriteFill: String = "star.fill" + static let close: String = "multiply" // common operations static let share: String = "square.and.arrow.up" diff --git a/Mlem/Views/Shared/Components/ImageUploadView.swift b/Mlem/Views/Shared/Components/ImageUploadView.swift index 128cbb461..c95febb75 100644 --- a/Mlem/Views/Shared/Components/ImageUploadView.swift +++ b/Mlem/Views/Shared/Components/ImageUploadView.swift @@ -65,7 +65,7 @@ struct ImageUploadView: View { } .overlay(alignment: .topTrailing) { Button(action: onCancel, label: { - Image(systemName: "multiply") + Image(systemName: Icons.close) .fontWeight(.semibold) .tint(.secondary) .padding(5)