Skip to content

Commit

Permalink
[design] #154 PokitSearchView LazyGrid ์ ์šฉ
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapeKim98 committed Oct 26, 2024
1 parent 73a448a commit 7ebaad9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,10 @@ private extension PokitSearchView {

if let results = store.resultList {
ScrollView {
LazyVStack(spacing: 0) {
LazyVGrid(
columns: [ .init(.adaptive(minimum: 300, maximum: .infinity))],
spacing: 20
) {
ForEach(results, id: \.id) { content in
let isFirst = content == results.first
let isLast = content == results.last
Expand Down

0 comments on commit 7ebaad9

Please sign in to comment.