We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b6e51 commit 0bfe0c4Copy full SHA for 0bfe0c4
1 file changed
example/src/App.tsx
@@ -257,11 +257,9 @@ const AppContainer = () => {
257
const deleteRecordings = async () => {
258
await Promise.all(recordings.map(async recording => fs.unlink(recording)))
259
.then(() => {
260
- Alert.alert(
261
- 'All recording deleted',
262
- 'All recordings have been deleted successfully! Reboot the app to see the changes.',
263
- [{ text: 'Dismiss' }]
264
- );
+ generateAudioList().then(audioListArray => {
+ setList(audioListArray);
+ });
265
})
266
.catch(error => {
267
Alert.alert(
0 commit comments