align reminder options with web

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2025-07-29 15:06:57 +02:00
parent 50f289ca63
commit be7c2fa662
No known key found for this signature in database
GPG Key ID: F7AA2A8B65B50220

View File

@ -230,16 +230,14 @@ class DateTimeCompose(val bundle: Bundle) {
} }
} }
if (tomorrow.dayOfWeek < DayOfWeek.SATURDAY) { TimeOption(
TimeOption( label = stringResource(R.string.tomorrow),
label = stringResource(R.string.tomorrow), timeString = tomorrowStr
timeString = tomorrowStr ) {
) { setTime(tomorrow)
setTime(tomorrow)
}
} }
if (currTime.dayOfWeek < DayOfWeek.SATURDAY) { if (currTime.dayOfWeek < DayOfWeek.FRIDAY) {
TimeOption( TimeOption(
label = stringResource(R.string.this_weekend), label = stringResource(R.string.this_weekend),
timeString = thisWeekendStr timeString = thisWeekendStr
@ -248,11 +246,13 @@ class DateTimeCompose(val bundle: Bundle) {
} }
} }
TimeOption( if (currTime.dayOfWeek != DayOfWeek.SUNDAY) {
label = stringResource(R.string.next_week), TimeOption(
timeString = nextWeekStr label = stringResource(R.string.next_week),
) { timeString = nextWeekStr
setTime(nextWeek) ) {
setTime(nextWeek)
}
} }
HorizontalDivider() HorizontalDivider()