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/constants/constants.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/constants') diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 8832cec3..3fed8fe6 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -11,7 +11,7 @@ export const PROFILE_CUTOUT_CORNER_Y = SCREEN_HEIGHT / 1.95; export const IMAGE_WIDTH = SCREEN_WIDTH; export const IMAGE_HEIGHT = SCREEN_WIDTH; -export const COVER_HEIGHT = SCREEN_WIDTH * (7 / 5); +export const COVER_HEIGHT = SCREEN_HEIGHT * 0.55; export const AVATAR_DIM = 44; export const AVATAR_GRADIENT_DIM = 50; @@ -102,4 +102,3 @@ export const BROWSABLE_SOCIAL_URLS: Record = { Instagram: 'https://instagram.com/', Twitter: 'https://twitter.com/', }; - -- cgit v1.2.3-70-g09d2