Skip to content

Commit 3740bee

Browse files
committed
branch update
2 parents d666d1c + 005d272 commit 3740bee

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

website/versioned_docs/version-0.82/button.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ import {SafeAreaView, SafeAreaProvider} from 'react-native-safe-area-context';
2525
2626
const Separator = () => <View style={styles.separator} />;
2727
28-
function showAlert(message: string){
29-
if(Platform.OS === "web"){
30-
window.alert(message);
28+
function showAlert(message: string){
29+
if(Platform.OS === "web"){
30+
window.alert(message);
31+
}
32+
else{
33+
Alert.alert(message)
34+
}
3135
}
32-
else{
33-
Alert.alert(message)
34-
}
35-
}
3636
3737
const App = () => (
3838
<SafeAreaProvider>

0 commit comments

Comments
 (0)