Fix layout issue with avatar bubbles (#10289)

This commit is contained in:
DS Boyce
2026-04-17 13:50:41 -07:00
committed by GitHub
parent 587dc8dfe8
commit feebc6a98b
+2 -2
View File
@@ -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,