From f8b7392169cf4a26568a39268c9398c4594d7400 Mon Sep 17 00:00:00 2001 From: Jan Nowakowski Date: Tue, 18 Jun 2024 12:06:58 +0200 Subject: [PATCH] Fix new offline chat image on android --- src/pages/home/report/AnimatedEmptyStateBackground.tsx | 2 +- src/pages/home/report/ReportActionItemCreated.tsx | 1 - src/styles/utils/index.ts | 10 +--------- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/pages/home/report/AnimatedEmptyStateBackground.tsx b/src/pages/home/report/AnimatedEmptyStateBackground.tsx index efd8b4e3d304..3c440b59904b 100644 --- a/src/pages/home/report/AnimatedEmptyStateBackground.tsx +++ b/src/pages/home/report/AnimatedEmptyStateBackground.tsx @@ -43,7 +43,7 @@ function AnimatedEmptyStateBackground() { }, [isReducedMotionEnabled]); return ( - + navigateToConciergeChatAndDeleteReport(props.report?.reportID ?? props.reportID)} - needsOffscreenAlphaCompositing > diff --git a/src/styles/utils/index.ts b/src/styles/utils/index.ts index 844b6e2a6a23..fb8424ccae92 100644 --- a/src/styles/utils/index.ts +++ b/src/styles/utils/index.ts @@ -800,15 +800,7 @@ function getReportWelcomeBackgroundImageStyle(isSmallScreenWidth: boolean): Imag /** * Gets the style for the container of the empty state background image that overlap the created report action */ -function getReportWelcomeBackgroundContainerStyle(isSmallScreenWidth: boolean): ViewStyle { - if (isSmallScreenWidth) { - return { - position: 'absolute', - top: CONST.EMPTY_STATE_BACKGROUND.OVERLAP, - width: '100%', - }; - } - +function getReportWelcomeBackgroundContainerStyle(): ViewStyle { return { position: 'absolute', top: CONST.EMPTY_STATE_BACKGROUND.OVERLAP,