diff --git a/app/src/main/java/com/hyperling/expensetracker/ExpenseScreen.kt b/app/src/main/java/com/hyperling/expensetracker/ExpenseScreen.kt index 973c760..47d52fa 100644 --- a/app/src/main/java/com/hyperling/expensetracker/ExpenseScreen.kt +++ b/app/src/main/java/com/hyperling/expensetracker/ExpenseScreen.kt @@ -55,7 +55,7 @@ fun ExpenseScreen( } ){ padding -> if(state.isAddingExpense){ - ExpenseDialogAdd(state, onEvent) + ExpenseScreenDialogAdd(state, onEvent) } LazyColumn ( diff --git a/app/src/main/java/com/hyperling/expensetracker/ExpenseDialogAdd.kt b/app/src/main/java/com/hyperling/expensetracker/ExpenseScreenDialogAdd.kt similarity index 97% rename from app/src/main/java/com/hyperling/expensetracker/ExpenseDialogAdd.kt rename to app/src/main/java/com/hyperling/expensetracker/ExpenseScreenDialogAdd.kt index 0ea6ce9..4e9da77 100644 --- a/app/src/main/java/com/hyperling/expensetracker/ExpenseDialogAdd.kt +++ b/app/src/main/java/com/hyperling/expensetracker/ExpenseScreenDialogAdd.kt @@ -14,11 +14,10 @@ import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.text.input.KeyboardCapitalization import androidx.compose.ui.text.input.KeyboardType -import androidx.compose.ui.text.style.TextGeometricTransform import androidx.compose.ui.unit.dp @Composable -fun ExpenseDialogAdd( +fun ExpenseScreenDialogAdd( state: ExpenseState, onEvent: (ExpenseEvent) -> Unit, modifier: Modifier = Modifier