Skip to content

Commit

Permalink
fix(profile): fix TopUserArtistsView image aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan committed Jul 26, 2021
1 parent 71c833c commit 3fcac46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firstfm/Views/Profile/TopUserArtistsView.swift
Expand Up @@ -43,7 +43,7 @@ struct TopUserArtistsView: View {
.loadImmediately()
.fade(duration: 0.5)
.cornerRadius(5)
.aspectRatio(contentMode: .fill)
.aspectRatio(1, contentMode: .fill)
Text(artist.name).font(.headline).lineLimit(1).foregroundColor(.white)
Text("\(Int(artist.playcount ?? "0")?.formatted() ?? "0") scrobbles")
.font(.subheadline)
Expand Down

0 comments on commit 3fcac46

Please sign in to comment.