79182104

Date: 2024-11-12 17:18:22
Score: 1.5
Natty:
Report link

The purpose of SafeAreaView is to render content within the safe area boundaries of a device.

So if you want to apply the background color everywhere, you may do this instead :

<View style={{ flex: 1, backgroundColor: "olive" }}>
    <SafeAreaView style={{ flex: 1 }}>
        {/* ... */}
    </SafeAreaView>
</View>
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mike