File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Feature/FeatureRemind/Sources/Remind Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ public struct PokitLinkPreview: View {
4141 if let image = phase. image {
4242 image
4343 . resizable ( )
44+ . aspectRatio ( contentMode: . fill)
4445 } else {
4546 PokitSpinner ( )
4647 . foregroundStyle ( . pokit( . icon( . brand) ) )
@@ -56,6 +57,7 @@ public struct PokitLinkPreview: View {
5657 Spacer ( )
5758 }
5859 . clipShape ( RoundedRectangle ( cornerRadius: 12 , style: . continuous) )
60+ . clipped ( )
5961 . background {
6062 RoundedRectangle ( cornerRadius: 12 , style: . continuous)
6163 . fill ( . pokit( . bg( . base) ) )
Original file line number Diff line number Diff line change @@ -193,6 +193,7 @@ extension RemindView {
193193 }
194194 . frame ( width: 216 , height: 194 )
195195 . clipShape ( RoundedRectangle ( cornerRadius: 12 , style: . continuous) )
196+ . clipped ( )
196197 }
197198
198199 @MainActor
@@ -201,6 +202,7 @@ extension RemindView {
201202 if let image = phase. image {
202203 image
203204 . resizable ( )
205+ . aspectRatio ( contentMode: . fill)
204206 } else if phase. error != nil {
205207 imagePlaceholder
206208 . task { await send ( . 리마인드_항목_이미지오류_나타났을때( contentId: contentId) ) . finish ( ) }
You can’t perform that action at this time.
0 commit comments