Limpiando
This commit is contained in:
parent
c89b2083df
commit
466d7271be
|
|
@ -29,7 +29,7 @@ fun ExerciseOneCompose() {
|
|||
|
||||
Scaffold(topBar = {
|
||||
TopAppBar(title = {
|
||||
Row() {
|
||||
Row {
|
||||
Text(
|
||||
text = stringResource(R.string.ej1_contadores),
|
||||
modifier = Modifier
|
||||
|
|
@ -48,7 +48,7 @@ fun ExerciseOneCompose() {
|
|||
|
||||
}
|
||||
})
|
||||
}) { it ->
|
||||
}) {
|
||||
if (viewModel.counters.isEmpty()) {
|
||||
InputCount(
|
||||
modifier = Modifier.padding(paddingValues = it),
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ import androidx.compose.runtime.saveable.rememberSaveable
|
|||
import androidx.compose.runtime.setValue
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.lifecycle.viewmodel.compose.viewModel
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue