diff --git a/core/datastore/src/commonMain/kotlin/org/mifos/mobile/core/datastore/di/PreferenceModule.kt b/core/datastore/src/commonMain/kotlin/org/mifos/mobile/core/datastore/di/PreferenceModule.kt index c9a12eeb6..49f211ae3 100644 --- a/core/datastore/src/commonMain/kotlin/org/mifos/mobile/core/datastore/di/PreferenceModule.kt +++ b/core/datastore/src/commonMain/kotlin/org/mifos/mobile/core/datastore/di/PreferenceModule.kt @@ -16,14 +16,13 @@ import org.mifos.mobile.core.datastore.PreferenceHelper import org.mifos.mobile.core.datastore.UserPreferencesDataSource import org.mifos.mobile.core.datastore.UserPreferencesRepository - val PreferencesModule = module { factory { Settings() } factory { UserPreferencesDataSource( settings = get(), - dispatcher = get(named(MifosDispatchers.IO.name)) + dispatcher = get(named(MifosDispatchers.IO.name)), ) } @@ -40,5 +39,5 @@ val PreferencesModule = module { enum class MifosDispatchers { Default, IO, - Unconfined -} \ No newline at end of file + Unconfined, +}