细节优化

This commit is contained in:
huangjian
2023-01-13 15:07:05 +08:00
parent dee4f873b4
commit e99a65c21e
2 changed files with 4 additions and 3 deletions

View File

@@ -390,6 +390,9 @@ class MeFragment : BaseFragment(), View.OnClickListener {
mBinding.ivHeadWear.tag = effect
}
} ?: run {
mBinding.ivHeadWear.setImageResource(0)
mBinding.ivHeadWear.tag = null
}
}

View File

@@ -256,9 +256,7 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
}
public boolean collapse(boolean immediately) {
boolean respond = mHelper.isPanelState() || mHelper.isKeyboardState() || isKeyboardShowed;
mHelper.resetState();
return respond;
return mHelper.hookSystemBackByPanelSwitcher();
}
public void addAitTextWatcher(TextWatcher watcher) {