mirror of
https://github.com/InsanusMokrassar/PsychomatrixBase.git
synced 2024-11-24 19:18:53 +00:00
fix of HistoryDatesRepositoryImpl logic
This commit is contained in:
parent
a7cfaba837
commit
227ae86b98
@ -20,8 +20,11 @@ abstract class HistoryDatesRepositoryImpl(
|
|||||||
calculatePsychomatrixByDateUseCase.openPsychomatrixCreatedSubscription().subscribe {
|
calculatePsychomatrixByDateUseCase.openPsychomatrixCreatedSubscription().subscribe {
|
||||||
it.date.also {
|
it.date.also {
|
||||||
date ->
|
date ->
|
||||||
onDateCalculated(date)
|
date.withTime(0, 0, 0, 0).also {
|
||||||
dateAddedBroadcast.send(date)
|
dateWithoutTime ->
|
||||||
|
onDateCalculated(dateWithoutTime)
|
||||||
|
dateAddedBroadcast.send(dateWithoutTime)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user