-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: course dates feature #149
chore: course dates feature #149
Conversation
@@ -35,6 +35,7 @@ public struct CourseDatesView: View { | |||
} | |||
} else if let courseDates = viewModel.courseDates, !courseDates.courseDateBlocks.isEmpty { | |||
CourseDateListView(viewModel: viewModel, courseDates: courseDates) | |||
.padding(.top) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please set a specific value for .padding(.top)
.
You might use .padding(.top, 20)
as an example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@volodymyr-chekyrta i have added padding value to this, but i think this should be handled by the parent or maybe we should handle this by adding NavigationTtile to the child view. This same padding/overlapping issue will occur on the handouts tab.
Course/CourseTests/Presentation/Unit/CourseDateViewModelTests.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small comment otherwise working fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This is continuity of #137
to address feedback, as original PR was merged.
This PR also fixes edge case for the Today block and siblings for Today block, small color fixes to Circle and bit of refactoring.