Skip to content

Commit

Permalink
Set toolbar to black when e-ink
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Dec 25, 2024
1 parent 4c42bc5 commit dce7529
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1251,8 +1251,11 @@ class MainBibleActivity : CustomTitlebarActivityBase() {

val toolbarColor = if (ScreenSettings.nightMode)
resources.getColor(R.color.actionbar_background_night, theme)
else
else if (monochromeMode) {
Color.BLACK
} else {
workspaceSettings.workspaceColor ?: defaultWorkspaceColor
}

binding.run {
homeButton.setBackgroundColor(toolbarColor)
Expand Down

0 comments on commit dce7529

Please sign in to comment.