From 92e211a21a5eaa91dc5542954fc4383c84e5435d Mon Sep 17 00:00:00 2001 From: Loewy Date: Mon, 12 Feb 2024 10:31:59 -0800 Subject: [PATCH] fix prettier --- src/screens/video-stack/record.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/screens/video-stack/record.tsx b/src/screens/video-stack/record.tsx index 92f9db1..881660d 100644 --- a/src/screens/video-stack/record.tsx +++ b/src/screens/video-stack/record.tsx @@ -77,8 +77,11 @@ export default function RecordScreen({ navigation }): React.JSX.Element { const handleSubmit = () => { // Next block's alert message are OS specific if (!hasPermission) { - if (Platform.OS === 'android') return Alert.alert(android.title, android.message); - else return Alert.alert(ios.title, ios.message); + if (Platform.OS === "android") { + 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