Skip to content

Commit

Permalink
Merge pull request #52 from 0x1-company/fix-recommendation
Browse files Browse the repository at this point in the history
fix: recommendations empty
  • Loading branch information
tomokisun authored Dec 28, 2023

Verified

This commit was signed with the committer’s verified signature.
Nerixyz nerix
2 parents fd3b456 + 502bbe4 commit 9e052e1
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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)
Original file line number Diff line number Diff line change
@@ -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)))):

0 comments on commit 9e052e1

Please sign in to comment.