diff --git a/macos/Sources/Features/About/CyclingIconView.swift b/macos/Sources/Features/About/CyclingIconView.swift index c2a860ff7..9bdd4fa68 100644 --- a/macos/Sources/Features/About/CyclingIconView.swift +++ b/macos/Sources/Features/About/CyclingIconView.swift @@ -39,6 +39,6 @@ struct CyclingIconView: View { iconImage .resizable() - .aspectRatio(contentMode: .fit) + .scaledToFit() } } diff --git a/macos/Sources/Features/Secure Input/SecureInputOverlay.swift b/macos/Sources/Features/Secure Input/SecureInputOverlay.swift index d616d74be..3dbdcd64b 100644 --- a/macos/Sources/Features/Secure Input/SecureInputOverlay.swift +++ b/macos/Sources/Features/Secure Input/SecureInputOverlay.swift @@ -15,7 +15,7 @@ struct SecureInputOverlay: View { Image(systemName: "lock.shield.fill") .resizable() - .aspectRatio(contentMode: .fit) + .scaledToFit() .frame(width: 25, height: 25) .foregroundColor(.primary) .padding(5)