Refactor dialog name.
This commit is contained in:
parent
f2fe268b5b
commit
e8d5794cf7
@ -55,7 +55,7 @@ fun ExpenseScreen(
|
|||||||
}
|
}
|
||||||
){ padding ->
|
){ padding ->
|
||||||
if(state.isAddingExpense){
|
if(state.isAddingExpense){
|
||||||
ExpenseDialogAdd(state, onEvent)
|
ExpenseScreenDialogAdd(state, onEvent)
|
||||||
}
|
}
|
||||||
|
|
||||||
LazyColumn (
|
LazyColumn (
|
||||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user