Skip to content

Commit

Permalink
fix wear root module
Browse files Browse the repository at this point in the history
  • Loading branch information
makeevrserg committed Mar 13, 2024
1 parent f4c6bb6 commit 4819708
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ plugins {
alias(libs.plugins.kotlin.compose) apply false
alias(libs.plugins.gradle.buildconfig) apply false
}

apply(plugin = "ru.astrainteractive.gradleplugin.detekt")

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ interface WearRootModule : Module {
override val wearMessengerModule: WearMessengerModule by Single {
WearMessengerModule.Default(
context = coreModule.platformConfiguration.value.applicationContext,
coroutineScope = coreModule.mainScope.value,
json = coreModule.jsonConfiguration.value
coroutineScope = coreModule.mainScope,
json = coreModule.jsonConfiguration
)
}

override val wearStatusComponent: Single<WearStatusComponent> = Single {
DefaultWearStatusComponent(
wearMessageReceiver = wearMessengerModule.wearMessageReceiver,
coroutineScope = coreModule.mainScope.value
coroutineScope = coreModule.mainScope
)
}
}
Expand Down

0 comments on commit 4819708

Please sign in to comment.