Skip to content

Commit

Permalink
Also add header prefix to container style
Browse files Browse the repository at this point in the history
  • Loading branch information
MaciejSWM committed Feb 23, 2024
1 parent 14fc343 commit 8609295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/HeaderWithBackButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function HeaderWithBackButton({
<View style={styles.flexGrow1} />
{/* Uses absolute positioning so that it's always centered instead of being affected by the
presence or absence of back/close buttons to the left/right of it */}
<View style={styles.progressBarContainer}>
<View style={styles.headerProgressBarContainer}>
<View style={styles.headerProgressBar}>
<View style={[{width: `${progressBarPercentage}%`}, styles.headerProgressBarFill]} />
</View>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4409,7 +4409,7 @@ const styles = (theme: ThemeColors) =>
borderColor: theme.icon,
},

progressBarContainer: {
headerProgressBarContainer: {
position: 'absolute',
width: '100%',
},
Expand Down

0 comments on commit 8609295

Please sign in to comment.