mirror of
https://github.com/InsanusMokrassar/PsychomatrixBase.git
synced 2024-11-24 11:08: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 {
|
||||
it.date.also {
|
||||
date ->
|
||||
onDateCalculated(date)
|
||||
dateAddedBroadcast.send(date)
|
||||
date.withTime(0, 0, 0, 0).also {
|
||||
dateWithoutTime ->
|
||||
onDateCalculated(dateWithoutTime)
|
||||
dateAddedBroadcast.send(dateWithoutTime)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user