Skip to content

Commit cc20c56

Browse files
committed
fix: replace deprecated absoluteFillObject across components
1 parent f6b5e6e commit cc20c56

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

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)