From 3b7bf256d83e1898642c2aab9072ffbeec8cc032 Mon Sep 17 00:00:00 2001 From: Ashm Walia <40498934+ashmgarv@users.noreply.github.com> Date: Mon, 14 Dec 2020 16:02:09 -0800 Subject: [TMA - 426] Fix recent search + Add refresh control (#138) * Got rid of small lint errors before start * Final push * Final * disable scroll first try / logic * small change * Try to make the cover photo consistent with different screen sizes * Final change * added RefreshControl * removed scale effect * Fix misorientation of cover * remove more scale stuff * fix userIDs for different views * Mend refresh control * white bg Co-authored-by: hsalhab --- src/components/moments/Moment.tsx | 2 +- src/components/moments/MomentTile.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/moments') diff --git a/src/components/moments/Moment.tsx b/src/components/moments/Moment.tsx index e928f7e0..940b519c 100644 --- a/src/components/moments/Moment.tsx +++ b/src/components/moments/Moment.tsx @@ -15,7 +15,7 @@ import {MomentType, ScreenType} from 'src/types'; interface MomentProps { title: string; images: MomentType[] | undefined; - userXId: string; + userXId: string | undefined; screenType: ScreenType; } diff --git a/src/components/moments/MomentTile.tsx b/src/components/moments/MomentTile.tsx index 05ccfa15..16e91c82 100644 --- a/src/components/moments/MomentTile.tsx +++ b/src/components/moments/MomentTile.tsx @@ -5,7 +5,7 @@ import {MomentType, ScreenType} from 'src/types'; interface MomentTileProps { moment: MomentType; - userXId: string; + userXId: string | undefined; screenType: ScreenType; } const MomentTile: React.FC = ({ -- cgit v1.2.3-70-g09d2