From dce7529d4ccfdcc5f15480460013253db81c623b Mon Sep 17 00:00:00 2001 From: Tuomas Airaksinen Date: Wed, 25 Dec 2024 22:59:54 +0200 Subject: [PATCH] Set toolbar to black when e-ink --- .../bible/android/view/activity/page/MainBibleActivity.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/net/bible/android/view/activity/page/MainBibleActivity.kt b/app/src/main/java/net/bible/android/view/activity/page/MainBibleActivity.kt index db3547acba..6b6ba79182 100644 --- a/app/src/main/java/net/bible/android/view/activity/page/MainBibleActivity.kt +++ b/app/src/main/java/net/bible/android/view/activity/page/MainBibleActivity.kt @@ -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)