refactor: uncapsulate component

This commit is contained in:
aro 2022-11-21 19:16:43 +01:00
parent cbd918540a
commit e14162e4e6

View file

@ -22,7 +22,7 @@ fun WatcherDisplay(
Row( Row(
horizontalArrangement = Arrangement.SpaceEvenly horizontalArrangement = Arrangement.SpaceEvenly
){ ) {
Box( Box(
contentAlignment = Alignment.Center, contentAlignment = Alignment.Center,
modifier = Modifier modifier = Modifier
@ -42,21 +42,19 @@ fun WatcherDisplay(
} }
} }
Box { Box(
Box( contentAlignment = Alignment.Center,
contentAlignment = Alignment.Center, modifier = Modifier
modifier = Modifier .padding(PaddingValues(0.dp, 0.dp, 0.dp, 55.dp))
.padding(PaddingValues(0.dp, 0.dp, 0.dp, 55.dp)) .fillMaxHeight()
.fillMaxHeight() .fillMaxWidth(1f)
.fillMaxWidth(1f) .border(BorderStroke(4.dp, UIColors.STRESS), RectangleShape)
.border(BorderStroke(4.dp, UIColors.STRESS), RectangleShape) ) {
) { Column {
Column { //.............
//............. // OUTPUT SIDE
// OUTPUT SIDE //.............
//............. DummyTextEntry()
DummyTextEntry()
}
} }
} }
} }