Skip to content

Commit

Permalink
removing some bug in top bar font weight item
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavesh100 committed Sep 28, 2023
1 parent 4ea9ac1 commit 33c5f6c
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,6 @@ fun SettingsActivityLayout(
.fillMaxHeight()
.weight(0.1f)
)
if (topBarFont.ordinal == topBarFontState) {
Button(onClick = {}) {
Text(
text = context.getString(topBarFont.label)
)
}
}
if (topBarFont.ordinal != topBarFontState) {
OutlinedButton(
onClick = {
Expand All @@ -270,6 +263,13 @@ fun SettingsActivityLayout(
)
}
}
if (topBarFont.ordinal == topBarFontState) {
Button(onClick = {}) {
Text(
text = context.getString(topBarFont.label)
)
}
}
}
}
}
Expand Down

0 comments on commit 33c5f6c

Please sign in to comment.