Skip to content

Commit 66d494b

Browse files
committed
[fix] 2.0.2 QA 사항 반영
1 parent b189c9d commit 66d494b

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-5
lines changed

Projects/DSKit/Sources/Modifiers/PokitPresentationCornerRadiusModifier.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ struct PokitPresentationCornerRadiusModifier: ViewModifier {
1111
init() { }
1212

1313
func body(content: Content) -> some View {
14-
if #available(iOS 16.4, *) {
14+
if #available(iOS 26.0, *) {
15+
content
16+
} else if #available(iOS 16.4, *) {
1517
content
1618
.presentationCornerRadius(20)
1719
} else {

Projects/Feature/FeatureCategoryDetail/Sources/CategoryDetailFeature.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ private extension CategoryDetailFeature {
321321
case .카테고리_목록_조회_API:
322322
return .run { send in
323323
let request = BasePageableRequest(page: 0, size: 30, sort: ["createdAt,desc"])
324-
let response = try await categoryClient.카테고리_목록_조회(request, true, true).toDomain()
324+
let response = try await categoryClient.카테고리_목록_조회(request, true, false).toDomain()
325325
await send(.inner(.카테고리_목록_조회_API_반영(response)))
326326
}
327327

Projects/Feature/FeaturePokit/Sources/PokitFavoriteCard.swift

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
import SwiftUI
99

10+
import NukeUI
11+
import DSKit
12+
import Util
13+
1014
public struct PokitFavoriteCard: View {
1115
private let linkCount: Int
1216
private let action: () -> Void
@@ -76,9 +80,20 @@ public struct PokitFavoriteCard: View {
7680
}
7781

7882
private var thumbNail: some View {
79-
Image(.character(.pooki))
80-
.resizable()
81-
.frame(width: 84, height: 84)
83+
LazyImage(url: Constants.즐겨찾기_썸네일_주소) { state in
84+
Group {
85+
if let image = state.image {
86+
image
87+
.resizable()
88+
} else {
89+
PokitSpinner()
90+
.foregroundStyle(.pokit(.icon(.brand)))
91+
.frame(width: 48, height: 48)
92+
}
93+
}
94+
.animation(.pokitDissolve, value: state.image)
95+
}
96+
.frame(width: 84, height: 84)
8297
}
8398

8499
private var background: some View {

Projects/Util/Sources/Constants.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public enum Constants {
2424
public static let 마케팅_정보_수신_주소: URL = URL(string: "https://www.notion.so/bb6d0d6569204d5e9a7b67e5825f9d10")!
2525
public static let 고객문의_주소: URL = URL(string: "https://www.instagram.com/pokit.official/")!
2626
public static let 기본_썸네일_주소: URL = URL(string: "https://pokit-s3.s3.ap-northeast-2.amazonaws.com/logo/pokit.png")!
27+
public static let 즐겨찾기_썸네일_주소: URL = URL(string: "https://pokit-s3.s3.ap-northeast-2.amazonaws.com/category-image/character.png")!
2728

2829
public static let 포킷_최대_갯수_문구: String = "최대 30개의 포킷을 생성할 수 있습니다.\n포킷을 삭제한 뒤에 추가해주세요."
2930
public static let 복사한_링크_저장하기_문구: String = "복사한 링크 저장하기"

0 commit comments

Comments
 (0)