Skip to content

Commit a85ab49

Browse files
committed
fix #152, fix #151
1 parent 3655381 commit a85ab49

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

chat/src/main/java/cn/wildfire/chat/kit/conversation/ConversationInputPanel.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ public void onEmotionSettingClick(View view) {
237237

238238
@OnClick(R.id.extImageView)
239239
void onExtImageViewClick() {
240+
if (audioButton.getVisibility() == VISIBLE) {
241+
return;
242+
}
240243
if (rootLinearLayout.getCurrentInput() == extContainerFrameLayout) {
241244
rootLinearLayout.showSoftkey(editText);
242245
hideConversationExtension();
@@ -248,6 +251,9 @@ void onExtImageViewClick() {
248251

249252
@OnClick(R.id.emotionImageView)
250253
void onEmotionImageViewClick() {
254+
if (audioButton.getVisibility() == VISIBLE) {
255+
return;
256+
}
251257
if (rootLinearLayout.getCurrentInput() == emotionContainerFrameLayout) {
252258
hideEmotionLayout();
253259
} else {

0 commit comments

Comments
 (0)