Skip to content

Commit 49065dd

Browse files
committed
feat: rounded corners
1 parent 54a256d commit 49065dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/to/bitkit/ui/screens/scanner/QrScanningScreen.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import androidx.compose.runtime.remember
3333
import androidx.compose.runtime.setValue
3434
import androidx.compose.ui.Alignment
3535
import androidx.compose.ui.Modifier
36+
import androidx.compose.ui.draw.clip
3637
import androidx.compose.ui.draw.clipToBounds
3738
import androidx.compose.ui.geometry.CornerRadius
3839
import androidx.compose.ui.geometry.Offset
@@ -61,6 +62,7 @@ import to.bitkit.ui.scaffold.AppTopBar
6162
import to.bitkit.ui.scaffold.ScreenColumn
6263
import to.bitkit.ui.shared.util.gradientBackground
6364
import to.bitkit.ui.theme.Colors
65+
import to.bitkit.ui.theme.Shapes
6466
import to.bitkit.utils.Logger
6567
import java.util.concurrent.Executors
6668

@@ -163,6 +165,7 @@ private fun Content(
163165
Column(modifier = modifier.fillMaxSize()) {
164166
Box(modifier = modifier
165167
.fillMaxWidth()
168+
.clip(RoundedCornerShape(16.dp))
166169
.weight(1f)) {
167170
AndroidView(
168171
modifier = Modifier

0 commit comments

Comments
 (0)