diff --git a/app/src/main/java/be/re/writand/screens/editor/bottom/BottomEditorBarViewModel.kt b/app/src/main/java/be/re/writand/screens/editor/bottom/BottomEditorBarViewModel.kt index 6f2d60e..de6c1e2 100644 --- a/app/src/main/java/be/re/writand/screens/editor/bottom/BottomEditorBarViewModel.kt +++ b/app/src/main/java/be/re/writand/screens/editor/bottom/BottomEditorBarViewModel.kt @@ -10,8 +10,6 @@ import kotlinx.coroutines.flow.asStateFlow * Viewmodel to be used by BottomEditorBar that handles the buttons and what the current * row/column is. */ - -@HiltViewModel class BottomEditorBarViewModel : WViewModel() { private val _row = MutableStateFlow(0) diff --git a/app/src/main/java/be/re/writand/screens/editor/editorspace/EditorSpaceViewModel.kt b/app/src/main/java/be/re/writand/screens/editor/editorspace/EditorSpaceViewModel.kt index 71c7fde..52f2b2d 100644 --- a/app/src/main/java/be/re/writand/screens/editor/editorspace/EditorSpaceViewModel.kt +++ b/app/src/main/java/be/re/writand/screens/editor/editorspace/EditorSpaceViewModel.kt @@ -9,7 +9,6 @@ import javax.inject.Inject /** * Viewmodel to be used by EditorSpace to handle file changes and keep the ui state in memory. */ -@HiltViewModel class EditorSpaceViewModel : WViewModel() { private val _uiState: MutableStateFlow = diff --git a/app/src/main/java/be/re/writand/screens/editor/top/TopEditorBarViewModel.kt b/app/src/main/java/be/re/writand/screens/editor/top/TopEditorBarViewModel.kt index 0f230fd..5b48e19 100644 --- a/app/src/main/java/be/re/writand/screens/editor/top/TopEditorBarViewModel.kt +++ b/app/src/main/java/be/re/writand/screens/editor/top/TopEditorBarViewModel.kt @@ -9,7 +9,6 @@ import kotlinx.coroutines.flow.asStateFlow /** * View model to be used by TopEditorBar handling the buttons and saving of the file. */ -@HiltViewModel class TopEditorBarViewModel : WViewModel() { private val _saved = MutableStateFlow(true)