From 553c2169970845b0e0e6966cbc0c80d04b368db8 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 2 Jan 2023 12:26:59 +0100 Subject: [PATCH] use a different color for the bottom thread bar --- app/build.gradle | 2 +- .../smsmessenger/activities/ThreadActivity.kt | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index f1bd17ff..5b9e799d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -63,7 +63,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:3c6ffa6f87' + implementation 'com.github.SimpleMobileTools:Simple-Commons:cf120f1fa8' implementation 'org.greenrobot:eventbus:3.3.1' implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61' implementation 'com.github.tibbi:android-smsmms:33fcaf94d9' diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt index 55d2a1fe..e970f7f4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt @@ -169,7 +169,12 @@ class ThreadActivity : SimpleActivity() { } } - val bottomBarColor = getBottomNavigationBackgroundColor() + val bottomBarColor = if (baseConfig.isUsingSystemTheme) { + resources.getColor(R.color.you_bottom_bar_color) + } else { + getBottomNavigationBackgroundColor() + } + thread_send_message_holder.setBackgroundColor(bottomBarColor) updateNavigationBarColor(bottomBarColor) }