Fix Attach missing when using input menu

This commit is contained in:
luvletter2333 2022-02-18 16:45:27 +08:00
parent ab0c0ed4d8
commit c19229663f
No known key found for this signature in database
GPG Key ID: A26A8880836E1978

View File

@ -5170,6 +5170,8 @@ public class ChatActivityEnterView extends ChatBlurredFrameLayout implements Not
attachButton.setOnClickListener(this::onMenuClick);
attachButton.setContentDescription(LocaleController.getString("AccDescrAttachButton", R.string.AccDescrChatAttachEnterMenu));
if (delegate != null)
delegate.onAttachButtonHidden();
} else {
attachButton.setTag(2);