-
Notifications
You must be signed in to change notification settings - Fork 207
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
[Android] fix calculation to offset item in grid timetable #1084
Conversation
val dayStart = dayToStartTime[timetableItem.day] ?: dayStartTime | ||
val gridStartTime = LocalTime(hour = 10, minute = 0) | ||
val gridStart = |
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.
[Help wanted
I am not familiar with how to use date time APIs so much.
I think it is quite dirty and there should be better ways, so I would like some advice to improve this calculation 🙏
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.
@tkhs0604 I wanted not to use a fixed time for the start time. So I've changed a little. Could you take a look at it? |
Hi @takahirom! Codes seem to be unformatted. To resolve this issue, please run |
@takahirom |
715bb81
to
ec5d3de
Compare
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.
I hadn't noticed this crucial detail. Thank you!
Issue
Overview (Required)
Links
Screenshot (Optional if screenshot test is present or unrelated to UI)