diff --git a/app/src/main/java/space/taran/arkmemo/ui/viewmodels/NotesViewModel.kt b/app/src/main/java/space/taran/arkmemo/ui/viewmodels/NotesViewModel.kt index 62521089..89649dd1 100644 --- a/app/src/main/java/space/taran/arkmemo/ui/viewmodels/NotesViewModel.kt +++ b/app/src/main/java/space/taran/arkmemo/ui/viewmodels/NotesViewModel.kt @@ -13,9 +13,9 @@ import space.taran.arkmemo.preferences.MemoPreferences import javax.inject.Inject @HiltViewModel -class NotesViewModel @Inject constructor( - @Inject var textNotesRepo: TextNotesRepo -): ViewModel() { +class NotesViewModel @Inject constructor(): ViewModel() { + + @Inject lateinit var textNotesRepo: TextNotesRepo private val iODispatcher = Dispatchers.IO