Add proper navigation bottom bar color.

This commit is contained in:
Alex Hart
2023-06-30 14:21:32 -03:00
committed by Greyson Parrelli
parent 3fa3e8357c
commit 42fe827cb3

View File

@@ -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) {