Fix layout issue with avatar bubbles (#10289)
This commit is contained in:
@@ -3,6 +3,7 @@ import {type StyleProp, View, type ViewStyle} from 'react-native'
|
|||||||
import Animated, {
|
import Animated, {
|
||||||
Easing,
|
Easing,
|
||||||
interpolate,
|
interpolate,
|
||||||
|
type SharedValue,
|
||||||
useAnimatedStyle,
|
useAnimatedStyle,
|
||||||
useSharedValue,
|
useSharedValue,
|
||||||
withDelay,
|
withDelay,
|
||||||
@@ -191,7 +192,7 @@ function AvatarBubble({
|
|||||||
includeProfileBorder,
|
includeProfileBorder,
|
||||||
}: {
|
}: {
|
||||||
profile?: bsky.profile.AnyProfileView
|
profile?: bsky.profile.AnyProfileView
|
||||||
scale: Animated.SharedValue<number>
|
scale: SharedValue<number>
|
||||||
size: number
|
size: number
|
||||||
style?: StyleProp<ViewStyle>
|
style?: StyleProp<ViewStyle>
|
||||||
x: number
|
x: number
|
||||||
@@ -214,7 +215,6 @@ function AvatarBubble({
|
|||||||
a.absolute,
|
a.absolute,
|
||||||
a.rounded_full,
|
a.rounded_full,
|
||||||
a.flex_grow_0,
|
a.flex_grow_0,
|
||||||
{transform: [{translateX: x}, {translateY: y}]},
|
|
||||||
includeProfileBorder && {
|
includeProfileBorder && {
|
||||||
borderColor: t.atoms.text_inverted.color,
|
borderColor: t.atoms.text_inverted.color,
|
||||||
borderWidth: 2,
|
borderWidth: 2,
|
||||||
|
|||||||
Reference in New Issue
Block a user