Skip to content

Commit

Permalink
Fix chevron size on the Mac after moving to new UIButton configuratio…
Browse files Browse the repository at this point in the history
…n code
  • Loading branch information
vincode-io committed Dec 25, 2023
1 parent d61ab1a commit b3e6e05
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Zavala/ZavalaImageAssets.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,7 @@ struct ZavalaImageAssets {
static var cut = UIImage(systemName: "scissors")!

static var delete = UIImage(systemName: "trash")!
static var disclosure = {
#if targetEnvironment(macCatalyst)
return UIImage(systemName: "chevron.down")!.applyingSymbolConfiguration(.init(pointSize: 9, weight: .heavy))!
#else
return UIImage(systemName: "chevron.down")!.applyingSymbolConfiguration(.init(pointSize: 12, weight: .medium))!
#endif
}()
static var disclosure = UIImage(systemName: "chevron.down")!.applyingSymbolConfiguration(.init(pointSize: 12, weight: .medium))!
static var documentLink = UIImage(named: "DocumentLink")!.applyingSymbolConfiguration(.init(pointSize: 24, weight: .medium))!
static var duplicate = UIImage(systemName: "plus.square.on.square")!

Expand Down

0 comments on commit b3e6e05

Please sign in to comment.