(cherry picked from commit 3e6c3889410bac71a698efe9bf78d61a655b0b23)
This commit is contained in:
Stephen Paul Weber 2024-09-30 08:25:00 -05:00 committed by Arne
parent 65a8e01045
commit b4624b7203

View file

@ -1210,7 +1210,8 @@ public class ConversationFragment extends XmppFragment
this.binding.inputLayout.setBackgroundColor(android.R.color.transparent);
} else {
this.binding.textInputHint.setVisibility(View.GONE);
if (activity != null) this.binding.textinput.setHint(UIHelper.getMessageHint(activity, conversation));
if (activity == null) return;
this.binding.textinput.setHint(UIHelper.getMessageHint(activity, conversation));
this.binding.inputLayout.setBackground(activity.getDrawable(R.drawable.background_message_bubble));
activity.invalidateOptionsMenu();
}