From c4f8fd62eb65907a12a5304687a44ed7c68db504 Mon Sep 17 00:00:00 2001 From: tomokisun Date: Fri, 29 Dec 2023 04:47:31 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=F0=9F=90=9B=20recommendation=20empt?= =?UTF-8?q?y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BeMatch/Sources/RecommendationFeature/Recommendation.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Packages/BeMatch/Sources/RecommendationFeature/Recommendation.swift b/Packages/BeMatch/Sources/RecommendationFeature/Recommendation.swift index 95ae058d..257eb850 100644 --- a/Packages/BeMatch/Sources/RecommendationFeature/Recommendation.swift +++ b/Packages/BeMatch/Sources/RecommendationFeature/Recommendation.swift @@ -61,8 +61,6 @@ public struct RecommendationLogic { ? .empty() : .swipe(RecommendationSwipeLogic.State(rows: rows)) - state.child = .empty() - return .none case let .child(.swipe(.delegate(.matched(username)))): From 502bbe46734913c9f28274f3cf10aae4c84b155d Mon Sep 17 00:00:00 2001 From: tomokisun Date: Fri, 29 Dec 2023 04:50:04 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=F0=9F=90=9B=20empty=20share?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RecommendationEmptyFeature/RecommendationEmpty.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Packages/BeMatch/Sources/RecommendationEmptyFeature/RecommendationEmpty.swift b/Packages/BeMatch/Sources/RecommendationEmptyFeature/RecommendationEmpty.swift index 79040715..d246fb9d 100644 --- a/Packages/BeMatch/Sources/RecommendationEmptyFeature/RecommendationEmpty.swift +++ b/Packages/BeMatch/Sources/RecommendationEmptyFeature/RecommendationEmpty.swift @@ -103,9 +103,7 @@ public struct RecommendationEmptyView: View { .foregroundStyle(Color.white) .multilineTextAlignment(.center) - Button { - store.send(.shareButtonTapped) - } label: { + ShareLink(item: viewStore.sharedURL) { Text("Share", bundle: .module) .font(.system(.subheadline, weight: .semibold)) .frame(height: 50)