Skip to content

Commit

Permalink
Adjust strongs button alpha for noAnimations mode (eink)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Jan 7, 2025
1 parent 5e1bb87 commit 7b4f0e0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,8 @@ class MainBibleActivity : CustomTitlebarActivityBase() {
}
}
if(dummyStrongsPrefOption.value == 0) {
binding.strongsButton.alpha = 0.5F
val alpha = if(CommonUtils.settings.disableAnimations) 0.8F else 0.5F
binding.strongsButton.alpha = alpha
} else
binding.strongsButton.alpha = 1.0F
}
Expand Down

0 comments on commit 7b4f0e0

Please sign in to comment.