From 3fcac46f10fe5f32a3cf48ba62c804fc4548ddc7 Mon Sep 17 00:00:00 2001 From: Stanislas Date: Mon, 26 Jul 2021 22:49:33 +0200 Subject: [PATCH] fix(profile): fix TopUserArtistsView image aspect ratio --- firstfm/Views/Profile/TopUserArtistsView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firstfm/Views/Profile/TopUserArtistsView.swift b/firstfm/Views/Profile/TopUserArtistsView.swift index 0d8fd12..b4c6b4e 100644 --- a/firstfm/Views/Profile/TopUserArtistsView.swift +++ b/firstfm/Views/Profile/TopUserArtistsView.swift @@ -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)