fix runBlocking of HistoryDatesRepositoryImpl

This commit is contained in:
InsanusMokrassar 2018-09-04 18:41:06 +08:00
parent 003886605c
commit fba26a2f02

View File

@ -16,7 +16,7 @@ abstract class HistoryDatesRepositoryImpl(
private val dateRemovedBroadcast = BroadcastChannel<DateTime>(SUBSCRIPTIONS_EXTRA_SMALL) private val dateRemovedBroadcast = BroadcastChannel<DateTime>(SUBSCRIPTIONS_EXTRA_SMALL)
init { init {
runBlocking { launch {
calculatePsychomatrixByDate.openPsychomatrixCreatedSubscription().subscribe { calculatePsychomatrixByDate.openPsychomatrixCreatedSubscription().subscribe {
it.date.also { it.date.also {
date -> date ->