From e14162e4e6b95482809f866959a179837c8da2ba Mon Sep 17 00:00:00 2001 From: aro Date: Mon, 21 Nov 2022 19:16:43 +0100 Subject: [PATCH] refactor: uncapsulate component --- .../components/WrenchFileManagerInput.kt | 30 +++++++++---------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/src/main/kotlin/xyz/atnrch/wrench/components/WrenchFileManagerInput.kt b/src/main/kotlin/xyz/atnrch/wrench/components/WrenchFileManagerInput.kt index c911ab0..d0e7ea8 100644 --- a/src/main/kotlin/xyz/atnrch/wrench/components/WrenchFileManagerInput.kt +++ b/src/main/kotlin/xyz/atnrch/wrench/components/WrenchFileManagerInput.kt @@ -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() } } }