-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Speech to text button on chat activity not working #2469 #2486
base: development
Are you sure you want to change the base?
Conversation
f71cc9e
to
a146cb5
Compare
The build is failing✨ Good work on this PR so far! ✨ Unfortunately, the Circle CI build is failing as of 90334f2. Here's the output:
|
8accce4
to
c59a7c0
Compare
@shubhamkumar1739 problem is bit bigger than just working of speech to text button. Notice the SearchTextView in issue gif also the icons on top are gone. Simple null check in onError of STTFragment of activity can fix the working of speech to text. |
Yes but I have also fixed the problem which caused the icons to disappear. There was also another error that was occurring : you weren't able to chat with SUSI after you got stuck into this state. I have fixed that as well |
Can you try adding a simple null check in onError rather then creating restoreActivityState()
Just give it a try... |
Actually adding null check on onError didn't work. But i realised i had missed some implementations. So i pushed the changes again. |
159f30e
to
ce5f922
Compare
Please look at it now. I dont think the app will crash now. |
What I was saying that applying null check in onError didn't fix the "invisible view" issue. This crash issue isn't occurring on my device as well as other devices that I tested on. But I will apply the null check nonetheless :) |
No don't... Im not a mentor, it's just a suggestion... Btw my device is oppo a3s, it fixed the crash issue |
Since the problem is occurring frequently, it's better to fix it. You don't have to be a mentor to help. Thanks a lot. |
ce5f922
to
90334f2
Compare
Add restoreActivityState() in STTFragment to make invisible views visible and perform other tasks
90334f2
to
7de9407
Compare
Fixes #2469 Speech to text button on chat activity not working
Changes: add functions to make view visible
Screenshots :