diff --git a/src/components/ReportHeaderSkeletonView.tsx b/src/components/ReportHeaderSkeletonView.tsx index 5332e0c5032c..bc4eef675170 100644 --- a/src/components/ReportHeaderSkeletonView.tsx +++ b/src/components/ReportHeaderSkeletonView.tsx @@ -5,7 +5,6 @@ import useLocalize from '@hooks/useLocalize'; import useTheme from '@hooks/useTheme'; import useThemeStyles from '@hooks/useThemeStyles'; import useWindowDimensions from '@hooks/useWindowDimensions'; -import variables from '@styles/variables'; import CONST from '@src/CONST'; import Icon from './Icon'; import * as Expensicons from './Icon/Expensicons'; @@ -22,9 +21,15 @@ function ReportHeaderSkeletonView({shouldAnimate = true, onBackButtonPress = () const styles = useThemeStyles(); const {translate} = useLocalize(); const {isSmallScreenWidth} = useWindowDimensions(); + const smallScreenHeight = styles.appContentHeader.height; + const height = !isSmallScreenWidth ? styles.headerBarDesktopHeight.height : smallScreenHeight; + const radius = 20; + const circleY = height / 2; + const circleTopY = circleY - radius; + const circleBottomY = circleY + radius; return ( - + {isSmallScreenWidth && ( diff --git a/src/pages/home/HeaderView.js b/src/pages/home/HeaderView.js index 29f2264dc77d..d02e2eb76d9f 100644 --- a/src/pages/home/HeaderView.js +++ b/src/pages/home/HeaderView.js @@ -217,7 +217,7 @@ function HeaderView(props) { dataSet={{dragArea: true}} > - + {isLoading ? ( ) : (