We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfe5652 commit d6f7e82Copy full SHA for d6f7e82
Projects/Feature/FeaturePokit/Sources/PokitRootView.swift
@@ -86,13 +86,15 @@ private extension PokitRootView {
86
87
Spacer()
88
89
- PokitIconLTextLink(
90
- store.sortType == .sort(.최신순) ?
91
- "최신순" : store.folderType == .folder(.포킷) ? "이름순" : "오래된순",
92
- icon: .icon(.align),
93
- action: { send(.분류_버튼_눌렀을때) }
94
- )
95
- .contentTransition(.numericText())
+ if !store.contents.isEmpty {
+ PokitIconLTextLink(
+ store.sortType == .sort(.최신순) ?
+ "최신순" : store.folderType == .folder(.포킷) ? "이름순" : "오래된순",
+ icon: .icon(.align),
+ action: { send(.분류_버튼_눌렀을때) }
+ )
96
+ .contentTransition(.numericText())
97
+ }
98
}
99
.animation(.snappy(duration: 0.7), value: store.folderType)
100
0 commit comments