Skip to content

Commit

Permalink
Add grid support for library view
Browse files Browse the repository at this point in the history
When the library view is expanded enough, it will turn into a grid.
  • Loading branch information
vapidinfinity committed Apr 23, 2024
1 parent 0dfaf12 commit 0e23d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mythic/Views/GameListEvo/GameListEvo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ struct GameListEvo: View {
var body: some View {
if !games.isEmpty {
ScrollView(.horizontal) {
LazyHStack {
LazyHGrid(rows: [.init(.adaptive(minimum: 335))]) {
ForEach(games) { game in
GameCard(game: .constant(game))
.padding([.leading, .vertical])
Expand Down

0 comments on commit 0e23d07

Please sign in to comment.