@@ -356,9 +356,25 @@ const AppContainer = () => {
356356 />
357357 </ Pressable >
358358 { showAdvancedOptions && (
359- < >
359+ < View style = { styles . advancedOptionsContainer } >
360360 < Pressable
361- style = { styles . stopAllRecordingContainer }
361+ style = { [
362+ styles . advancedOptionItem ,
363+ { opacity : nbOfRecording ? 1 : 0.5 } ,
364+ ] }
365+ onPress = { handleDeleteRecordings }
366+ disabled = { ! nbOfRecording } >
367+ < Image
368+ source = { Icons . delete }
369+ style = { styles . pinkButtonImage }
370+ resizeMode = "contain"
371+ />
372+ < Text style = { styles . deleteRecordingTitle } >
373+ { 'Delete recorded audio files' }
374+ </ Text >
375+ </ Pressable >
376+ < Pressable
377+ style = { styles . advancedOptionItem }
362378 onPress = { handleStopPlayersAndExtractors } >
363379 < Image
364380 source = { Icons . stop }
@@ -369,35 +385,8 @@ const AppContainer = () => {
369385 { 'Stop all players and extractors' }
370386 </ Text >
371387 </ Pressable >
372- </ >
388+ </ View >
373389 ) }
374- < Pressable
375- style = { [
376- styles . deleteRecordingContainer ,
377- { opacity : nbOfRecording ? 1 : 0.5 } ,
378- ] }
379- onPress = { handleDeleteRecordings }
380- disabled = { ! nbOfRecording } >
381- < Image
382- source = { Icons . delete }
383- style = { styles . pinkButtonImage }
384- resizeMode = "contain"
385- />
386- < Text style = { styles . deleteRecordingTitle } >
387- { 'Delete recorded audio files' }
388- </ Text >
389- </ Pressable >
390- < Pressable
391- style = { styles . playBackControlPressable }
392- onPress = { handleStopPlayersAndExtractors } >
393- < FastImage
394- source = { Icons . stop }
395- style = { styles . stopAllButton }
396- resizeMode = "contain"
397- tintColor = { Colors . pink }
398- />
399- </ Pressable >
400- </ View >
401390 < ScrollView scrollEnabled = { shouldScroll } >
402391 { list . map ( item => (
403392 < RenderListItem
0 commit comments