I am trying to redirect to CallScreen, but the redirect() function isnt being called. My code is in https://pastebin.com/FKLfGxhR, the function is supposed to be called
options={{
'Choose From Library': () => {
this.redirect();
},
}}
here.
The function is in the class, and is
redirect = () => {
this.props.navigation.navigate('CallScreen')
console.log('test')
}