Refactor dialog name.

This commit is contained in:
Hyperling 2025-01-09 16:14:35 -07:00
parent f2fe268b5b
commit e8d5794cf7
2 changed files with 2 additions and 3 deletions

View File

@ -55,7 +55,7 @@ fun ExpenseScreen(
} }
){ padding -> ){ padding ->
if(state.isAddingExpense){ if(state.isAddingExpense){
ExpenseDialogAdd(state, onEvent) ExpenseScreenDialogAdd(state, onEvent)
} }
LazyColumn ( LazyColumn (

View File

@ -14,11 +14,10 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier import androidx.compose.ui.Modifier
import androidx.compose.ui.text.input.KeyboardCapitalization import androidx.compose.ui.text.input.KeyboardCapitalization
import androidx.compose.ui.text.input.KeyboardType import androidx.compose.ui.text.input.KeyboardType
import androidx.compose.ui.text.style.TextGeometricTransform
import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.dp
@Composable @Composable
fun ExpenseDialogAdd( fun ExpenseScreenDialogAdd(
state: ExpenseState, state: ExpenseState,
onEvent: (ExpenseEvent) -> Unit, onEvent: (ExpenseEvent) -> Unit,
modifier: Modifier = Modifier modifier: Modifier = Modifier