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

Fix build

(cherry picked from commit 667cd08b)
parent 2204a58e
No related branches found
No related tags found
No related merge requests found
......@@ -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