diff options
Diffstat (limited to 'src/screens/moments/TagFriendsScreen.tsx')
-rw-r--r-- | src/screens/moments/TagFriendsScreen.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/moments/TagFriendsScreen.tsx b/src/screens/moments/TagFriendsScreen.tsx index 5c3501bb..2518cfbb 100644 --- a/src/screens/moments/TagFriendsScreen.tsx +++ b/src/screens/moments/TagFriendsScreen.tsx @@ -178,7 +178,7 @@ const TagFriendsScreen: React.FC<TagFriendsScreenProps> = ({route}) => { <View style={styles.titleContainer} onLayout={(event) => { - const {_x, y, _width, height} = event.nativeEvent.layout; + const {y, height} = event.nativeEvent.layout; const tempBound = y + height; if (SCREEN_HEIGHT / 2 - imageHeight / 2 < tempBound) { if (SCREEN_HEIGHT / 2 - imageHeight / 2 < 0) { |