Skip to content

Commit

Permalink
Fix: Updated disabled background color of disabled sync button
Browse files Browse the repository at this point in the history
  • Loading branch information
Prakhar-Agarwal-byte authored and thunderbiscuit committed Mar 24, 2023
1 parent e567a79 commit 2d2a8aa
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,13 @@ fun BalanceBox(
viewModel.updateConnectivityStatus(context)
viewModel.refresh(context)
},
colors = ButtonDefaults.buttonColors(containerColor = Color.Black),
colors = ButtonDefaults.buttonColors(containerColor = Color.Black,
disabledContainerColor = padawan_theme_onBackground_faded),
shape = RoundedCornerShape(20.dp, 20.dp, 0.dp, 0.dp),
border = standardBorder,
modifier = Modifier
.width(110.dp)
.width(110.dp),
enabled = !isRefreshing
) {
Row(verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.Center) {
Text(
Expand Down

0 comments on commit 2d2a8aa

Please sign in to comment.