@@ -607,7 +607,7 @@ const BottomNavigationBar = <Route extends BaseRoute>({
607
607
: 0 ,
608
608
} ;
609
609
610
- const isLegacyOrV3Shifting = shifting && labeled ;
610
+ const shiftingAndLabeled = shifting && labeled ;
611
611
612
612
return renderTouchable ( {
613
613
key : route . key ,
@@ -627,14 +627,14 @@ const BottomNavigationBar = <Route extends BaseRoute>({
627
627
pointerEvents = "none"
628
628
style = {
629
629
labeled
630
- ? styles . v3TouchableContainer
631
- : styles . v3NoLabelContainer
630
+ ? styles . touchableContainer
631
+ : styles . noLabelContainer
632
632
}
633
633
>
634
634
< Animated . View
635
635
style = { [
636
636
styles . iconContainer ,
637
- isLegacyOrV3Shifting && {
637
+ shiftingAndLabeled && {
638
638
transform : [ { translateY } ] ,
639
639
} ,
640
640
] }
@@ -659,7 +659,7 @@ const BottomNavigationBar = <Route extends BaseRoute>({
659
659
style = { [
660
660
styles . iconWrapper ,
661
661
{
662
- opacity : isLegacyOrV3Shifting
662
+ opacity : shiftingAndLabeled
663
663
? activeOpacity
664
664
: v3ActiveOpacity ,
665
665
} ,
@@ -683,7 +683,7 @@ const BottomNavigationBar = <Route extends BaseRoute>({
683
683
style = { [
684
684
styles . iconWrapper ,
685
685
{
686
- opacity : isLegacyOrV3Shifting
686
+ opacity : shiftingAndLabeled
687
687
? inactiveOpacity
688
688
: v3InactiveOpacity ,
689
689
} ,
@@ -723,7 +723,7 @@ const BottomNavigationBar = <Route extends BaseRoute>({
723
723
style = { [
724
724
styles . labelWrapper ,
725
725
{
726
- opacity : isLegacyOrV3Shifting
726
+ opacity : shiftingAndLabeled
727
727
? activeOpacity
728
728
: v3ActiveOpacity ,
729
729
} ,
@@ -756,7 +756,7 @@ const BottomNavigationBar = <Route extends BaseRoute>({
756
756
style = { [
757
757
styles . labelWrapper ,
758
758
{
759
- opacity : isLegacyOrV3Shifting
759
+ opacity : shiftingAndLabeled
760
760
? inactiveOpacity
761
761
: v3InactiveOpacity ,
762
762
} ,
@@ -862,11 +862,11 @@ const styles = StyleSheet.create({
862
862
position : 'absolute' ,
863
863
left : 0 ,
864
864
} ,
865
- v3TouchableContainer : {
865
+ touchableContainer : {
866
866
paddingTop : 12 ,
867
867
paddingBottom : 16 ,
868
868
} ,
869
- v3NoLabelContainer : {
869
+ noLabelContainer : {
870
870
height : 80 ,
871
871
justifyContent : 'center' ,
872
872
alignItems : 'center' ,
0 commit comments