Skip to content

Commit

Permalink
For now we just have horizontl grid lines. I think this is worth addi…
Browse files Browse the repository at this point in the history
…ng but if someone can get vertical grid lines working I would appreciate it.
  • Loading branch information
charles-b-stb committed Aug 20, 2024
1 parent 7324704 commit 789657d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions app-ios/Sources/TimetableFeature/TimetableListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ struct TimetableGridView: View {
let rooms = RoomType.allCases.filter {$0 != RoomType.roomIj}

ScrollView([.horizontal, .vertical]) {
Grid(alignment: .leading, horizontalSpacing: 2, verticalSpacing: 1) {
Grid(alignment: .leading, horizontalSpacing: 4, verticalSpacing: 2) {
GridRow {
Color.clear
.gridCellUnsizedAxes([.horizontal, .vertical])
Expand All @@ -136,17 +136,11 @@ struct TimetableGridView: View {
Spacer()

}.frame(height: 153)

// DashedDivider(axis: .vertical).frame(width: 1, height: 153)

ForEach(rooms, id: \.self) { room in
timeBlock.getCellForRoom(room: room, onTap: { item in
store.send(.view(.timetableItemTapped(item)))
})
//Divider().gridCellUnsizedAxes(.vertical)
// DashedDivider(axis: .vertical).frame(width: 1)
//
// Divider()
}
}
DashedDivider(axis: .horizontal)
Expand Down

0 comments on commit 789657d

Please sign in to comment.