Skip to content

Commit febd0c2

Browse files
fix: replace deprecated absoluteFillObject for react native 0.85 compat (#4890)
Co-authored-by: Dhanush Pani <dhanush.pani@gokiwi.in>
1 parent 78b2d75 commit febd0c2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/components/ActivityIndicator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ const styles = StyleSheet.create({
244244
},
245245

246246
layer: {
247-
...StyleSheet.absoluteFillObject,
247+
...StyleSheet.absoluteFill,
248248

249249
justifyContent: 'center',
250250
alignItems: 'center',

src/components/BottomNavigation/BottomNavigationBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ const styles = StyleSheet.create({
957957
justifyContent: 'center',
958958
},
959959
iconWrapper: {
960-
...StyleSheet.absoluteFillObject,
960+
...StyleSheet.absoluteFill,
961961
alignItems: 'center',
962962
},
963963
v3IconWrapper: {
@@ -968,7 +968,7 @@ const styles = StyleSheet.create({
968968
paddingBottom: 2,
969969
},
970970
labelWrapper: {
971-
...StyleSheet.absoluteFillObject,
971+
...StyleSheet.absoluteFill,
972972
},
973973
// eslint-disable-next-line react-native/no-color-literals
974974
label: {

src/components/FAB/FABGroup.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ const styles = StyleSheet.create({
520520
alignItems: 'flex-end',
521521
},
522522
container: {
523-
...StyleSheet.absoluteFillObject,
523+
...StyleSheet.absoluteFill,
524524
justifyContent: 'flex-end',
525525
},
526526
fab: {
@@ -529,7 +529,7 @@ const styles = StyleSheet.create({
529529
marginTop: 0,
530530
},
531531
backdrop: {
532-
...StyleSheet.absoluteFillObject,
532+
...StyleSheet.absoluteFill,
533533
},
534534
containerStyle: {
535535
borderRadius: 5,

src/components/Menu/Menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ const styles = StyleSheet.create({
716716
cursor: 'auto',
717717
},
718718
}),
719-
...StyleSheet.absoluteFillObject,
719+
...StyleSheet.absoluteFill,
720720
width: '100%',
721721
},
722722
});

0 commit comments

Comments
 (0)