Skip to content

Commit

Permalink
fix chat input visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
crackededed committed Feb 14, 2025
1 parent 52654ae commit c70ba52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ class ChatFragment : BaseNetworkFragment(), LifecycleListener, MessageClickedDia
}
replyView.gone()
send.setOnClickListener { sendMessage() }
if (view.parent != null && view.parent.parent is SlidingLayout && !requireContext().prefs().getBoolean(C.KEY_CHAT_BAR_VISIBLE, true)) {
if (view.parent?.parent?.parent is SlidingLayout && !requireContext().prefs().getBoolean(C.KEY_CHAT_BAR_VISIBLE, true)) {
messageView.gone()
} else {
messageView.visible()
Expand Down

0 comments on commit c70ba52

Please sign in to comment.