From cc61760a103dcf9985c3da7798ba66d0d881c058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=8F=84=ED=98=95?= <108233361+ShapeKim98@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:24:29 +0900 Subject: [PATCH] =?UTF-8?q?[design]=20#167=20=EC=BB=A8=ED=85=90=EC=B8=A0?= =?UTF-8?q?=20=EC=83=81=EC=84=B8=20=EB=94=94=EC=9E=90=EC=9D=B8=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 --- .../Sources/ContentDetail/ContentDetailView.swift | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Projects/Feature/FeatureContentDetail/Sources/ContentDetail/ContentDetailView.swift b/Projects/Feature/FeatureContentDetail/Sources/ContentDetail/ContentDetailView.swift index e0c4ac31..b0247281 100644 --- a/Projects/Feature/FeatureContentDetail/Sources/ContentDetail/ContentDetailView.swift +++ b/Projects/Feature/FeatureContentDetail/Sources/ContentDetail/ContentDetailView.swift @@ -34,8 +34,9 @@ public extension ContentDetailView { VStack(spacing: 0) { contentMemo - Divider() + Rectangle() .foregroundStyle(.pokit(.border(.tertiary))) + .frame(height: 1) bottomList(favorites: favorites) } @@ -56,8 +57,6 @@ public extension ContentDetailView { PokitLinkPopup(type: $store.linkPopup) } } -// .dismissKeyboard(focused: $isFocused) -// .onChange(of: isFocused) { send(.메모포커스_변경되었을때($0)) } .sheet(isPresented: $store.showAlert) { PokitAlert( "링크를 정말 삭제하시겠습니까?", @@ -110,8 +109,6 @@ private extension ContentDetailView { func title(content: BaseContentDetail) -> some View { VStack(alignment: .leading, spacing: 8) { Group { - remindAndBadge(content: content) - Text(content.title) .pokitFont(.title3) .foregroundStyle(.pokit(.text(.primary))) @@ -119,6 +116,8 @@ private extension ContentDetailView { .lineLimit(2) HStack { + remindAndBadge(content: content) + Spacer() Text(content.createdAt) @@ -128,8 +127,9 @@ private extension ContentDetailView { } .padding(.horizontal, 20) - Divider() + Rectangle() .foregroundStyle(.pokit(.border(.tertiary))) + .frame(height: 1) .padding(.top, 4) } } @@ -221,7 +221,8 @@ private extension ContentDetailView { title: "삭제하기", type: .bottomSheet( icon: .icon(.trash), - iconColor: .pokit(.icon(.primary)) + iconColor: .pokit(.icon(.primary)), + isLast: true ), action: { send(.삭제_버튼_눌렀을때) } )