From d6f7e82d666df77c17a4de249485ac2fd7d07e28 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: Mon, 9 Dec 2024 15:57:31 +0900 Subject: [PATCH] =?UTF-8?q?[design]=20#167=20=EB=AF=B8=EB=B6=84=EB=A5=98?= =?UTF-8?q?=20=EB=A7=81=ED=81=AC=20=EC=97=86=EC=9D=84=20=EC=8B=9C=20?= =?UTF-8?q?=EC=A0=95=EB=A0=AC=20=EB=B2=84=ED=8A=BC=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FeaturePokit/Sources/PokitRootView.swift | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Projects/Feature/FeaturePokit/Sources/PokitRootView.swift b/Projects/Feature/FeaturePokit/Sources/PokitRootView.swift index 6766234f..66c4b556 100644 --- a/Projects/Feature/FeaturePokit/Sources/PokitRootView.swift +++ b/Projects/Feature/FeaturePokit/Sources/PokitRootView.swift @@ -86,13 +86,15 @@ private extension PokitRootView { Spacer() - PokitIconLTextLink( - store.sortType == .sort(.최신순) ? - "최신순" : store.folderType == .folder(.포킷) ? "이름순" : "오래된순", - icon: .icon(.align), - action: { send(.분류_버튼_눌렀을때) } - ) - .contentTransition(.numericText()) + if !store.contents.isEmpty { + PokitIconLTextLink( + store.sortType == .sort(.최신순) ? + "최신순" : store.folderType == .folder(.포킷) ? "이름순" : "오래된순", + icon: .icon(.align), + action: { send(.분류_버튼_눌렀을때) } + ) + .contentTransition(.numericText()) + } } .animation(.snappy(duration: 0.7), value: store.folderType) }