Skip to content

Commit

Permalink
Change design of button and make button stay at bottom of screen
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyschmoe committed Oct 3, 2024
1 parent fe68da5 commit 1dd0215
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ fun WalletHomeBody(

val rawCredentials by rawCredentialsViewModel.rawCredentials.collectAsState()

if(!rawCredentials.isNotEmpty()) {
Column {
if(rawCredentials.isNotEmpty()) {
Box(modifier = Modifier.fillMaxSize()) {
LazyColumn(
Modifier
.fillMaxWidth()
Expand Down Expand Up @@ -137,7 +137,7 @@ fun WalletHomeBody(
},
modifier = Modifier.fillMaxWidth(),
colors = ButtonDefaults.buttonColors(
containerColor = Color.Blue,
containerColor = Color(0xFF488CF4),
contentColor = Color.White,
)
) {
Expand All @@ -146,9 +146,9 @@ fun WalletHomeBody(
modifier = Modifier.padding(8.dp)
) {
Icon(
painter = painterResource(id = R.drawable.scan_qr_code),
painter = painterResource(id = R.drawable.scan_qr_code_white),
contentDescription = "QR Code Icon",
tint = Color.White,
tint = Color(0xFFFFFFFF),
modifier = Modifier.padding(end = 10.dp)
)
Text(
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1dd0215

Please sign in to comment.