mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
fix: resolve semantic mismatch between UseCase naming and ViewModel usage
This commit is contained in:
parent
ab693f7b8a
commit
f6a470de63
4 changed files with 13 additions and 6 deletions
|
|
@ -31,7 +31,7 @@ data class ItemListState(
|
|||
)
|
||||
|
||||
class ItemListViewModel(
|
||||
private val getItems: GetItemUseCase
|
||||
private val getItems: GetItemsUseCase
|
||||
) : ViewModel() {
|
||||
private val _state = MutableStateFlow(ItemListState())
|
||||
val state: StateFlow<ItemListState> = _state.asStateFlow()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue