package com.kdanmobile.reader.setting

import android.arch.lifecycle.ViewModel
import android.arch.lifecycle.ViewModelProvider
import com.kdanmobile.reader.screen.model.SharePrefsModel

class ReaderSettingViewModelFactory(private val sharePrefsModel: SharePrefsModel) : ViewModelProvider.Factory {
    override fun <T : ViewModel?> create(modelClass: Class<T>): T {
        return ReaderSettingViewModel(sharePrefsModel) as T
    }
}