()
| 161 | }; |
| 162 | |
| 163 | const openActionMenu = () => { |
| 164 | const options = ["Reply", "Delete", "Cancel"]; |
| 165 | const destructiveButtonIndex = 1; |
| 166 | const cancelButtonIndex = 2; |
| 167 | showActionSheetWithOptions( |
| 168 | { |
| 169 | options, |
| 170 | destructiveButtonIndex, |
| 171 | cancelButtonIndex, |
| 172 | }, |
| 173 | onActionPress |
| 174 | ); |
| 175 | }; |
| 176 | |
| 177 | if (!user) { |
| 178 | return <ActivityIndicator />; |
nothing calls this directly
no outgoing calls
no test coverage detected