Skip to content

Commit

Permalink
πŸ”€ Merge pull request #36 from bhavesh100/main
Browse files Browse the repository at this point in the history
πŸ› Changed else block into if statement block of Outlinedbutton
  • Loading branch information
lorenzovngl authored Jun 10, 2023
2 parents 69647f3 + 8405015 commit d2b12a3
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ class SettingsActivity : ComponentActivity() {
}
)
}
} else {
}
if(it.ordinal != darkThemeState){
OutlinedButton(
onClick = {
darkThemeState = it.ordinal
Expand Down Expand Up @@ -281,7 +282,8 @@ class SettingsActivity : ComponentActivity() {
Button(onClick = {}) {
Text(text = it.label)
}
} else {
}
if (it.ordinal != dynamicColorsState){
OutlinedButton(
onClick = {
dynamicColorsState = it.ordinal
Expand Down

0 comments on commit d2b12a3

Please # to comment.