Skip to content

Commit

Permalink
Drop shadow for albums in collection view
Browse files Browse the repository at this point in the history
Emulates what IKImageBrowserView was doing better, helps with
white-on-white in lists with light theme
  • Loading branch information
NattyNarwhal committed Feb 15, 2024
1 parent ddf365d commit 2835403
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Submariner/SBAlbumViewItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, catego
.resizable()
.scaledToFit()
.aspectRatio(1, contentMode: .fit)
.shadow(color: .black, radius: 1, y: 1)
.padding(6)
Text(album.itemName ?? "")
.controlSize(.small)
Expand Down

0 comments on commit 2835403

Please sign in to comment.