[New study screen] Voice record deleted after putting the app on the background
Hi, I think recording was being lost because CheckPronunciationFragment.onPause() explicitly called viewModel.resetAll(). I removed this onPause override, which allows the ViewModel to correctly persist the recording state and file reference when the app is backgrounded.
Before
https://github.com/user-attachments/assets/face7482-73dc-4a67-8051-cee3847dbaec
After
https://github.com/user-attachments/assets/b88dccf5-f306-496e-a18f-bea85c224667
I've already fixed it, and your fix causes other bugs. Try focusing on issues that don't have anyone assigned.
Hi 👋
I would like to work on this issue.
Can you please assign it to me?
Hi @akkicodes-dev, This issue is already fixed by Bryan.