fix: @HiltViewmodel deleted as there is no Inject constructor

This commit is contained in:
EmmaVandewalle 2024-08-23 15:47:06 +02:00
parent 10c4b0e5c5
commit c4b4c94ca4
3 changed files with 0 additions and 4 deletions

View file

@ -10,8 +10,6 @@ import kotlinx.coroutines.flow.asStateFlow
* Viewmodel to be used by BottomEditorBar that handles the buttons and what the current * Viewmodel to be used by BottomEditorBar that handles the buttons and what the current
* row/column is. * row/column is.
*/ */
@HiltViewModel
class BottomEditorBarViewModel : WViewModel() { class BottomEditorBarViewModel : WViewModel() {
private val _row = MutableStateFlow(0) private val _row = MutableStateFlow(0)

View file

@ -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. * Viewmodel to be used by EditorSpace to handle file changes and keep the ui state in memory.
*/ */
@HiltViewModel
class EditorSpaceViewModel : WViewModel() { class EditorSpaceViewModel : WViewModel() {
private val _uiState: MutableStateFlow<EditorSpaceUiState> = private val _uiState: MutableStateFlow<EditorSpaceUiState> =

View file

@ -9,7 +9,6 @@ import kotlinx.coroutines.flow.asStateFlow
/** /**
* View model to be used by TopEditorBar handling the buttons and saving of the file. * View model to be used by TopEditorBar handling the buttons and saving of the file.
*/ */
@HiltViewModel
class TopEditorBarViewModel : WViewModel() { class TopEditorBarViewModel : WViewModel() {
private val _saved = MutableStateFlow(true) private val _saved = MutableStateFlow(true)