forked from Writand/writand
fix: @HiltViewmodel deleted as there is no Inject constructor
This commit is contained in:
parent
10c4b0e5c5
commit
c4b4c94ca4
3 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||||
|
|
|
@ -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> =
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue