aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/moments/TagFriendsScreen.tsx2
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) {