refactor: uncapsulate component
This commit is contained in:
parent
cbd918540a
commit
e14162e4e6
1 changed files with 14 additions and 16 deletions
|
@ -22,7 +22,7 @@ fun WatcherDisplay(
|
|||
|
||||
Row(
|
||||
horizontalArrangement = Arrangement.SpaceEvenly
|
||||
){
|
||||
) {
|
||||
Box(
|
||||
contentAlignment = Alignment.Center,
|
||||
modifier = Modifier
|
||||
|
@ -42,21 +42,19 @@ fun WatcherDisplay(
|
|||
}
|
||||
}
|
||||
|
||||
Box {
|
||||
Box(
|
||||
contentAlignment = Alignment.Center,
|
||||
modifier = Modifier
|
||||
.padding(PaddingValues(0.dp, 0.dp, 0.dp, 55.dp))
|
||||
.fillMaxHeight()
|
||||
.fillMaxWidth(1f)
|
||||
.border(BorderStroke(4.dp, UIColors.STRESS), RectangleShape)
|
||||
) {
|
||||
Column {
|
||||
//.............
|
||||
// OUTPUT SIDE
|
||||
//.............
|
||||
DummyTextEntry()
|
||||
}
|
||||
Box(
|
||||
contentAlignment = Alignment.Center,
|
||||
modifier = Modifier
|
||||
.padding(PaddingValues(0.dp, 0.dp, 0.dp, 55.dp))
|
||||
.fillMaxHeight()
|
||||
.fillMaxWidth(1f)
|
||||
.border(BorderStroke(4.dp, UIColors.STRESS), RectangleShape)
|
||||
) {
|
||||
Column {
|
||||
//.............
|
||||
// OUTPUT SIDE
|
||||
//.............
|
||||
DummyTextEntry()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue