Skip to content

Commit

Permalink
fix: DIViewModel is now public
Browse files Browse the repository at this point in the history
  • Loading branch information
y9san9 committed Mar 25, 2024
1 parent 217d0f3 commit 721d9ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public inline fun <reified T : Any> DI.viewModel(crossinline factory: DI.() -> T
}.underlying
}

@PublishedApi
internal open class DIViewModel<T : Any> : ViewModel() {
lateinit var underlying: T
public open class DIViewModel<T : Any> : ViewModel() {
public lateinit var underlying: T
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ composeCompiler = "1.5.6"
androidxNavigation = "2.7.7"
lifecycle = "2.6.1"

mdi = "0.0.36"
mdi = "0.0.37"

[libraries]

Expand Down

0 comments on commit 721d9ec

Please sign in to comment.