diff --git a/app/src/main/java/indi/dmzz_yyhyy/lightnovelreader/ui/book/detail/DetailViewModel.kt b/app/src/main/java/indi/dmzz_yyhyy/lightnovelreader/ui/book/detail/DetailViewModel.kt index e743bc9..c94c905 100644 --- a/app/src/main/java/indi/dmzz_yyhyy/lightnovelreader/ui/book/detail/DetailViewModel.kt +++ b/app/src/main/java/indi/dmzz_yyhyy/lightnovelreader/ui/book/detail/DetailViewModel.kt @@ -1,7 +1,10 @@ package indi.dmzz_yyhyy.lightnovelreader.ui.book.detail +import androidx.lifecycle.ViewModel import dagger.hilt.android.lifecycle.HiltViewModel +import javax.inject.Inject @HiltViewModel -class DetailViewModel { +class DetailViewModel @Inject constructor( +) : ViewModel() { } \ No newline at end of file diff --git a/app/src/main/java/indi/dmzz_yyhyy/lightnovelreader/ui/home/reading/ReadingViewModel.kt b/app/src/main/java/indi/dmzz_yyhyy/lightnovelreader/ui/home/reading/ReadingViewModel.kt index c5203ee..79dfd3e 100644 --- a/app/src/main/java/indi/dmzz_yyhyy/lightnovelreader/ui/home/reading/ReadingViewModel.kt +++ b/app/src/main/java/indi/dmzz_yyhyy/lightnovelreader/ui/home/reading/ReadingViewModel.kt @@ -1,8 +1,12 @@ package indi.dmzz_yyhyy.lightnovelreader.ui.home.reading; +import androidx.lifecycle.ViewModel import dagger.hilt.android.lifecycle.HiltViewModel; +import javax.inject.Inject; @HiltViewModel -public class ReadingViewModel { +class ReadingViewModel @Inject constructor( + +) : ViewModel() { }