Skip to content

Commit

Permalink
don't apply padding if loading
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Feb 12, 2024
1 parent 06c7dac commit 563f076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/HeaderView.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function HeaderView(props) {
dataSet={{dragArea: true}}
>
<View style={[styles.appContentHeader, !isSmallScreenWidth && styles.headerBarDesktopHeight]}>
<View style={[styles.appContentHeaderTitle, !isSmallScreenWidth && styles.pl5]}>
<View style={[styles.appContentHeaderTitle, !isSmallScreenWidth && !isLoading && styles.pl5]}>
{isLoading ? (
<ReportHeaderSkeletonView onBackButtonPress={props.onNavigationMenuButtonClicked} />
) : (
Expand Down

0 comments on commit 563f076

Please sign in to comment.