From d2c5ac99859f349b039be1740a755fd4b83eb7e2 Mon Sep 17 00:00:00 2001 From: Daniel Chick Date: Tue, 25 Feb 2025 22:23:21 -0600 Subject: [PATCH] [iOS] Fix Clipping Add User Button (#1441) * Add what was removed * tvos --------- Co-authored-by: chickdan <=> Co-authored-by: Ethan Pippin --- .../Views/SelectUserView/Components/UserGridButton.swift | 2 ++ Swiftfin/Views/SelectUserView/Components/UserGridButton.swift | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Swiftfin tvOS/Views/SelectUserView/Components/UserGridButton.swift b/Swiftfin tvOS/Views/SelectUserView/Components/UserGridButton.swift index a9e0a715..8301ce71 100644 --- a/Swiftfin tvOS/Views/SelectUserView/Components/UserGridButton.swift +++ b/Swiftfin tvOS/Views/SelectUserView/Components/UserGridButton.swift @@ -63,6 +63,8 @@ extension SelectUserView { ), pipeline: .Swiftfin.local ) + .aspectRatio(1, contentMode: .fill) + .clipShape(.circle) .overlay { if isEditing { ZStack(alignment: .bottom) { diff --git a/Swiftfin/Views/SelectUserView/Components/UserGridButton.swift b/Swiftfin/Views/SelectUserView/Components/UserGridButton.swift index 19485597..55266be0 100644 --- a/Swiftfin/Views/SelectUserView/Components/UserGridButton.swift +++ b/Swiftfin/Views/SelectUserView/Components/UserGridButton.swift @@ -67,6 +67,8 @@ extension SelectUserView { pipeline: .Swiftfin.local ) } + .aspectRatio(1, contentMode: .fill) + .clipShape(.circle) .overlay { if isEditing { ZStack(alignment: .bottomTrailing) {