mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 05:27:42 +00:00
Add proper navigation bottom bar color.
This commit is contained in:
committed by
Greyson Parrelli
parent
3fa3e8357c
commit
42fe827cb3
@@ -1098,6 +1098,14 @@ class ConversationFragment :
|
||||
|
||||
adapter.onHasWallpaperChanged(wallpaperEnabled)
|
||||
dateHeaderDecoration.hasWallpaper = wallpaperEnabled
|
||||
|
||||
val navColor = if (wallpaperEnabled) {
|
||||
R.color.conversation_navigation_wallpaper
|
||||
} else {
|
||||
R.color.signal_colorBackground
|
||||
}
|
||||
|
||||
WindowUtil.setNavigationBarColor(requireActivity(), ContextCompat.getColor(requireContext(), navColor))
|
||||
}
|
||||
|
||||
private fun presentChatColors(chatColors: ChatColors) {
|
||||
|
||||
Reference in New Issue
Block a user