From fba26a2f0230c1c9abd80021b4f084064c9f6849 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 4 Sep 2018 18:41:06 +0800 Subject: [PATCH] fix runBlocking of HistoryDatesRepositoryImpl --- .../data/repository/realisations/HistoryDatesRepositoryImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/data/repository/realisations/HistoryDatesRepositoryImpl.kt b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/data/repository/realisations/HistoryDatesRepositoryImpl.kt index 439c96a..755d68f 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/data/repository/realisations/HistoryDatesRepositoryImpl.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/data/repository/realisations/HistoryDatesRepositoryImpl.kt @@ -16,7 +16,7 @@ abstract class HistoryDatesRepositoryImpl( private val dateRemovedBroadcast = BroadcastChannel(SUBSCRIPTIONS_EXTRA_SMALL) init { - runBlocking { + launch { calculatePsychomatrixByDate.openPsychomatrixCreatedSubscription().subscribe { it.date.also { date ->