Skip to content

Commit

Permalink
fix: syntax fix in OBCalendar preview.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtktsl committed Oct 8, 2024
1 parent 9ec70b3 commit 848acd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/OBCalendar/OBCalendar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public struct OBCalendar<
) { model, scrollProxy in

ZStack {
if case .insideRange(.currentMonth) = model.day.dateType {
if case .insideRange(.currentMonth) = model.day.rangeType {
Text("\(model.day.day)")
} else {
placeholderView
Expand Down

0 comments on commit 848acd6

Please sign in to comment.