Skip to content

Commit

Permalink
Fix DI error in Courses
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed May 4, 2024
1 parent 57bc39f commit 936947a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import ivy.di.Di.register
import ivy.model.CourseId
import ui.navigation.Screen
import ui.screen.course.composable.CourseContent
import ui.screen.course.mapper.CourseViewStateMapper

class CourseScreen(
private val courseId: CourseId,
Expand All @@ -14,6 +15,7 @@ class CourseScreen(
override val path: String = "course"

override fun onDi(): Di.ScreenScope.() -> Unit = {
register { CourseViewStateMapper() }
register {
CourseViewModel(
courseId = courseId,
Expand Down

0 comments on commit 936947a

Please sign in to comment.