Skip to content

Commit

Permalink
Fix bug that make the trending view disappears on scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrocaselani committed May 15, 2019
1 parent acd4f11 commit 4172433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CouchTrackerApp/Trending/TrendingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public final class TrendingView: View {
}

public override func installConstraints() {
collectionView.snp.makeConstraints { $0.size.equalToSuperview() }
collectionView.snp.makeConstraints { $0.edges.equalToSuperview() }

emptyView.snp.makeConstraints { $0.center.equalToSuperview() }
}
Expand Down

0 comments on commit 4172433

Please sign in to comment.