From b93a3580de91d590f7508e6752d48a35b102686a Mon Sep 17 00:00:00 2001 From: jongnan Date: Fri, 4 Oct 2024 00:32:44 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20iOS=2018=EB=B2=84=EC=A0=84=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Recommend/Sources/Presentation/RecommendMemeImageView.swift | 2 +- .../Features/Recommend/Sources/Presentation/RecommendView.swift | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Projects/Features/Recommend/Sources/Presentation/RecommendMemeImageView.swift b/Projects/Features/Recommend/Sources/Presentation/RecommendMemeImageView.swift index 54fd5bf..9e622bc 100644 --- a/Projects/Features/Recommend/Sources/Presentation/RecommendMemeImageView.swift +++ b/Projects/Features/Recommend/Sources/Presentation/RecommendMemeImageView.swift @@ -39,6 +39,7 @@ struct RecommendMemeImagesView: View { .animation(.smooth, value: meme) } } + .scrollTargetLayout() // Border HStack(spacing: 0) { @@ -50,7 +51,6 @@ struct RecommendMemeImagesView: View { } } } - .scrollTargetLayout() .recommendSkeleton( isShow: memes.isEmpty, radius: 20, diff --git a/Projects/Features/Recommend/Sources/Presentation/RecommendView.swift b/Projects/Features/Recommend/Sources/Presentation/RecommendView.swift index 1d478ff..d4d67e4 100644 --- a/Projects/Features/Recommend/Sources/Presentation/RecommendView.swift +++ b/Projects/Features/Recommend/Sources/Presentation/RecommendView.swift @@ -70,7 +70,6 @@ public struct RecommendView: View { ) .onReadSize { size in memeImageHeight = size.height - print("memeImageHeight: \(memeImageHeight)") } Spacer()