mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Clear window insets listener when view is detached from window.
This commit is contained in:
@@ -1272,7 +1272,7 @@ class ConversationFragment :
|
||||
inputPanel.setHideForMessageRequestState(inputDisabled)
|
||||
|
||||
if (inputDisabled) {
|
||||
WindowUtil.setNavigationBarColor(requireActivity(), disabledInputView.color)
|
||||
binding.navBar.setBackgroundColor(disabledInputView.color)
|
||||
} else {
|
||||
disabledInputView.clear()
|
||||
}
|
||||
@@ -1482,7 +1482,7 @@ class ConversationFragment :
|
||||
)
|
||||
)
|
||||
|
||||
WindowUtil.setNavigationBarColor(requireActivity(), ContextCompat.getColor(requireContext(), navColor))
|
||||
binding.navBar.setBackgroundColor(ContextCompat.getColor(requireContext(), navColor))
|
||||
}
|
||||
|
||||
private fun presentChatColors(chatColors: ChatColors) {
|
||||
|
||||
Reference in New Issue
Block a user