Skip to content
Snippets Groups Projects
Commit 667cd08b authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix build

parent 17fb15ab
No related branches found
No related tags found
No related merge requests found
Pipeline #8587 failed with stage
in 0 seconds
......@@ -48,7 +48,7 @@ class StreamsModel(context: Context) : MedialibraryModel<AbstractMediaWrapper>(c
refresh()
}
class Factory(private val context: Context) : ViewModelProvider.Factory() {
class Factory(private val context: Context) : ViewModelProvider.Factory {
override fun <T : ViewModel> create(modelClass: Class<T>): T {
@Suppress("UNCHECKED_CAST")
return StreamsModel(context.applicationContext) as T
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment