Merge remote-tracking branch 'origin/master'

This commit is contained in:
zlzw 2022-11-10 11:12:22 +08:00
commit 7f34c50b71

View File

@ -131,6 +131,7 @@ public class VoiceDialog extends AbsDialogFragment {
* 上划取消
*/
public void withdraw() {
mIat.stopListening();
if (!isDetached()) {
voiceFluctuations.setVisibility(View.GONE);
gifView.setVisibility(View.GONE);
@ -144,6 +145,7 @@ public class VoiceDialog extends AbsDialogFragment {
* 上划取消
*/
public void notWithdraw() {
startRecognize();
if (!isDetached()) {
if (TextUtils.isEmpty(sendMessage())) {
if (gifView.getVisibility() != View.VISIBLE)