@@ -607,7 +607,7 @@ const BottomNavigationBar = <Route extends BaseRoute>({
607607 : 0 ,
608608 } ;
609609
610- const isLegacyOrV3Shifting = shifting && labeled ;
610+ const shiftingAndLabeled = shifting && labeled ;
611611
612612 return renderTouchable ( {
613613 key : route . key ,
@@ -627,14 +627,14 @@ const BottomNavigationBar = <Route extends BaseRoute>({
627627 pointerEvents = "none"
628628 style = {
629629 labeled
630- ? styles . v3TouchableContainer
631- : styles . v3NoLabelContainer
630+ ? styles . touchableContainer
631+ : styles . noLabelContainer
632632 }
633633 >
634634 < Animated . View
635635 style = { [
636636 styles . iconContainer ,
637- isLegacyOrV3Shifting && {
637+ shiftingAndLabeled && {
638638 transform : [ { translateY } ] ,
639639 } ,
640640 ] }
@@ -659,7 +659,7 @@ const BottomNavigationBar = <Route extends BaseRoute>({
659659 style = { [
660660 styles . iconWrapper ,
661661 {
662- opacity : isLegacyOrV3Shifting
662+ opacity : shiftingAndLabeled
663663 ? activeOpacity
664664 : v3ActiveOpacity ,
665665 } ,
@@ -683,7 +683,7 @@ const BottomNavigationBar = <Route extends BaseRoute>({
683683 style = { [
684684 styles . iconWrapper ,
685685 {
686- opacity : isLegacyOrV3Shifting
686+ opacity : shiftingAndLabeled
687687 ? inactiveOpacity
688688 : v3InactiveOpacity ,
689689 } ,
@@ -723,7 +723,7 @@ const BottomNavigationBar = <Route extends BaseRoute>({
723723 style = { [
724724 styles . labelWrapper ,
725725 {
726- opacity : isLegacyOrV3Shifting
726+ opacity : shiftingAndLabeled
727727 ? activeOpacity
728728 : v3ActiveOpacity ,
729729 } ,
@@ -756,7 +756,7 @@ const BottomNavigationBar = <Route extends BaseRoute>({
756756 style = { [
757757 styles . labelWrapper ,
758758 {
759- opacity : isLegacyOrV3Shifting
759+ opacity : shiftingAndLabeled
760760 ? inactiveOpacity
761761 : v3InactiveOpacity ,
762762 } ,
@@ -862,11 +862,11 @@ const styles = StyleSheet.create({
862862 position : 'absolute' ,
863863 left : 0 ,
864864 } ,
865- v3TouchableContainer : {
865+ touchableContainer : {
866866 paddingTop : 12 ,
867867 paddingBottom : 16 ,
868868 } ,
869- v3NoLabelContainer : {
869+ noLabelContainer : {
870870 height : 80 ,
871871 justifyContent : 'center' ,
872872 alignItems : 'center' ,
0 commit comments