@@ -56,15 +56,15 @@ function FloatingActionButton({onPress, isActive, accessibilityLabel, role, isTo
56
56
// On Home screen, We need to wait for the sidebar to load before showing the tooltip because there is the Concierge tooltip which is higher priority
57
57
isTooltipAllowed && ( ! isHomeRouteActive || isSidebarLoaded ) ,
58
58
) ;
59
- const isLhbVisible = ! shouldUseNarrowLayout ;
59
+ const isLHBVisible = ! shouldUseNarrowLayout ;
60
60
61
- const fabSize = isLhbVisible ? variables . iconSizeSmall : variables . iconSizeNormal ;
61
+ const fabSize = isLHBVisible ? variables . iconSizeSmall : variables . iconSizeNormal ;
62
62
63
63
const sharedValue = useSharedValue ( isActive ? 1 : 0 ) ;
64
64
const buttonRef = ref ;
65
65
66
- const tooltipHorizontalAnchorAlignment = isLhbVisible ? CONST . MODAL . ANCHOR_ORIGIN_HORIZONTAL . LEFT : CONST . MODAL . ANCHOR_ORIGIN_HORIZONTAL . RIGHT ;
67
- const tooltipShiftHorizontal = isLhbVisible ? variables . lhbFabTooltipShiftHorizontal : variables . fabTooltipShiftHorizontal ;
66
+ const tooltipHorizontalAnchorAlignment = isLHBVisible ? CONST . MODAL . ANCHOR_ORIGIN_HORIZONTAL . LEFT : CONST . MODAL . ANCHOR_ORIGIN_HORIZONTAL . RIGHT ;
67
+ const tooltipShiftHorizontal = isLHBVisible ? variables . lhbFabTooltipShiftHorizontal : variables . fabTooltipShiftHorizontal ;
68
68
69
69
useEffect ( ( ) => {
70
70
sharedValue . set (
@@ -119,13 +119,13 @@ function FloatingActionButton({onPress, isActive, accessibilityLabel, role, isTo
119
119
shouldUseHapticsOnLongPress = { false }
120
120
testID = "floating-action-button"
121
121
>
122
- < Animated . View style = { [ styles . floatingActionButton , { borderRadius} , isLhbVisible && styles . floatingActionButtonSmall , animatedStyle ] } >
122
+ < Animated . View style = { [ styles . floatingActionButton , { borderRadius} , isLHBVisible && styles . floatingActionButtonSmall , animatedStyle ] } >
123
123
< Svg
124
124
width = { fabSize }
125
125
height = { fabSize }
126
126
>
127
127
< AnimatedPath
128
- d = { isLhbVisible ? SMALL_FAB_PATH : FAB_PATH }
128
+ d = { isLHBVisible ? SMALL_FAB_PATH : FAB_PATH }
129
129
fill = { textLight }
130
130
/>
131
131
</ Svg >
0 commit comments