From b5ebd1cec0d4022957a776fe9df46e3f717ab9c9 Mon Sep 17 00:00:00 2001 From: Ole Date: Tue, 22 Oct 2024 10:11:26 +0200 Subject: [PATCH 1/3] fix: Activity Item screen spacing --- .../MasonryInfiniteScrollArtworkGrid.tsx | 3 +-- .../Activity/components/AlertNotification.tsx | 14 ++++++++------ .../components/ArtworkPublishedNotification.tsx | 12 +++++++----- .../components/NotificationArtworkList.tsx | 5 +++-- 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/src/app/Components/ArtworkGrids/MasonryInfiniteScrollArtworkGrid.tsx b/src/app/Components/ArtworkGrids/MasonryInfiniteScrollArtworkGrid.tsx index 7c71077d501..152aef75bf6 100644 --- a/src/app/Components/ArtworkGrids/MasonryInfiniteScrollArtworkGrid.tsx +++ b/src/app/Components/ArtworkGrids/MasonryInfiniteScrollArtworkGrid.tsx @@ -127,7 +127,6 @@ export const MasonryInfiniteScrollArtworkGrid: React.FC item.id} @@ -140,7 +139,7 @@ export const MasonryInfiniteScrollArtworkGrid: React.FC + hasMore ? : null } onScroll={rest.onScroll} /> diff --git a/src/app/Scenes/Activity/components/AlertNotification.tsx b/src/app/Scenes/Activity/components/AlertNotification.tsx index 2f03284700c..e2153c4e079 100644 --- a/src/app/Scenes/Activity/components/AlertNotification.tsx +++ b/src/app/Scenes/Activity/components/AlertNotification.tsx @@ -1,13 +1,13 @@ import { + ArrowRightIcon, Button, + DEFAULT_HIT_SLOP, Flex, - Text, + Pill, Screen, Spacer, - ArrowRightIcon, + Text, Touchable, - Pill, - DEFAULT_HIT_SLOP, } from "@artsy/palette-mobile" import { AlertNotification_notification$key } from "__generated__/AlertNotification_notification.graphql" import { ActivityErrorScreen } from "app/Scenes/Activity/components/ActivityErrorScreen" @@ -15,7 +15,7 @@ import { NotificationArtworkList } from "app/Scenes/Activity/components/Notifica import { goBack, navigate } from "app/system/navigation/navigate" import { FC } from "react" import { ScrollView, TouchableOpacity } from "react-native" -import { useFragment, graphql } from "react-relay" +import { graphql, useFragment } from "react-relay" interface AlertNotificationProps { notification: AlertNotification_notification$key @@ -86,7 +86,9 @@ export const AlertNotification: FC = ({ notification }) - + + +