Skip to content

Commit

Permalink
Remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyschmoe committed Oct 1, 2024
1 parent 6089d86 commit 67ca763
Showing 1 changed file with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ fun WalletHomeBody(
}

Box(
modifier = Modifier.fillMaxSize(), // Fill the entire screen
contentAlignment = Alignment.BottomCenter // Align content to the bottom center
modifier = Modifier.fillMaxSize(),
contentAlignment = Alignment.BottomCenter
) {
Button(
onClick = {
Expand All @@ -142,19 +142,18 @@ fun WalletHomeBody(
)
) {
Row(
verticalAlignment = Alignment.CenterVertically, // Align items vertically
modifier = Modifier.padding(8.dp) // Add padding to the button content
verticalAlignment = Alignment.CenterVertically,
modifier = Modifier.padding(8.dp)
) {
// Add the QR icon here
Icon(
painter = painterResource(id = R.drawable.scan_qr_code), // Replace with your QR code drawable resource
contentDescription = "QR Code Icon", // Accessibility description
tint = Color.White, // Icon color
modifier = Modifier.padding(end = 10.dp) // Space between icon and text
painter = painterResource(id = R.drawable.scan_qr_code),
contentDescription = "QR Code Icon",
tint = Color.White,
modifier = Modifier.padding(end = 10.dp)
)
Text(
text = "Scan to share",
fontFamily = Inter, // Ensure you have the Inter font available
fontFamily = Inter,
fontWeight = FontWeight.Normal,
fontSize = 15.sp,
)
Expand Down

0 comments on commit 67ca763

Please sign in to comment.