fix prettier
This commit is contained in:
parent
1098ba4c7d
commit
92e211a21a
@ -77,8 +77,11 @@ export default function RecordScreen({ navigation }): React.JSX.Element {
|
|||||||
const handleSubmit = () => {
|
const handleSubmit = () => {
|
||||||
// Next block's alert message are OS specific
|
// Next block's alert message are OS specific
|
||||||
if (!hasPermission) {
|
if (!hasPermission) {
|
||||||
if (Platform.OS === 'android') return Alert.alert(android.title, android.message);
|
if (Platform.OS === "android") {
|
||||||
else return Alert.alert(ios.title, ios.message);
|
return Alert.alert(android.title, android.message);
|
||||||
|
} else {
|
||||||
|
return Alert.alert(ios.title, ios.message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// needs to pass info as params or store in a context/state provider
|
// needs to pass info as params or store in a context/state provider
|
||||||
|
Loading…
Reference in New Issue
Block a user