Skip to content

Commit

Permalink
Show copied HEX code along with color image
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Jul 29, 2024
1 parent 4930cf0 commit 8a136e9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Maccy/Views/ListItemView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ struct ListItemView<Title: View>: View {
@Default(.imageMaxHeight) private var imageMaxHeight

var body: some View {
HStack {
HStack(spacing: 0) {
if let image {
Image(nsImage: image)
.padding(.leading, 10)
.padding(.vertical, 5)
} else {
ListItemTitleView(attributedTitle: attributedTitle, isSelected: isSelected, title: title)
}
ListItemTitleView(attributedTitle: attributedTitle, isSelected: isSelected, title: title)
Spacer()
if !shortcuts.isEmpty {
ZStack {
Expand Down

0 comments on commit 8a136e9

Please sign in to comment.