random unused code
This commit is contained in:
parent
8b57b46546
commit
7ec6dc64ae
@ -29,8 +29,7 @@ import at.xaxa.ledger.ui.DatePickerDocked
|
|||||||
|
|
||||||
@OptIn(ExperimentalMaterial3Api::class)
|
@OptIn(ExperimentalMaterial3Api::class)
|
||||||
@Composable
|
@Composable
|
||||||
fun Edit(modifier: Modifier = Modifier, onCardClick: () -> Unit, editViewModel : EditViewModel = viewModel(factory = AppViewModelProvider.Factory), onValueChange: (Entry) -> Unit = {},
|
fun Edit(modifier: Modifier = Modifier, onCardClick: () -> Unit, editViewModel : EditViewModel = viewModel(factory = AppViewModelProvider.Factory), onValueChange: (Entry) -> Unit = {}) {
|
||||||
) {
|
|
||||||
val entry = editViewModel.editUiState.entry
|
val entry = editViewModel.editUiState.entry
|
||||||
val category = editViewModel.categoryUi.category
|
val category = editViewModel.categoryUi.category
|
||||||
val categories by editViewModel.categoryListUiState.categories.collectAsState(initial = emptyList())
|
val categories by editViewModel.categoryListUiState.categories.collectAsState(initial = emptyList())
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
package at.xaxa.ledger.ui.entry.edit
|
package at.xaxa.ledger.ui.entry.edit
|
||||||
|
|
||||||
import android.util.Log
|
|
||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
import androidx.compose.runtime.mutableStateOf
|
import androidx.compose.runtime.mutableStateOf
|
||||||
import androidx.compose.runtime.setValue
|
import androidx.compose.runtime.setValue
|
||||||
|
Loading…
Reference in New Issue
Block a user