mirror of
https://github.com/nextcloud/talk-android
synced 2025-08-17 08:55:07 +01:00
align reminder options with web
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
50f289ca63
commit
be7c2fa662
@ -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,12 +246,14 @@ class DateTimeCompose(val bundle: Bundle) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (currTime.dayOfWeek != DayOfWeek.SUNDAY) {
|
||||||
TimeOption(
|
TimeOption(
|
||||||
label = stringResource(R.string.next_week),
|
label = stringResource(R.string.next_week),
|
||||||
timeString = nextWeekStr
|
timeString = nextWeekStr
|
||||||
) {
|
) {
|
||||||
setTime(nextWeek)
|
setTime(nextWeek)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
HorizontalDivider()
|
HorizontalDivider()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user