Skip to content

Commit

Permalink
Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjmarf committed Sep 26, 2023
1 parent 7a6d545 commit 2158383
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Mlem/Icons.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Mlem/Views/Shared/Components/ImageUploadView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2158383

Please sign in to comment.