Skip to content

Commit

Permalink
Fix conflicting style names
Browse files Browse the repository at this point in the history
  • Loading branch information
MaciejSWM committed Feb 23, 2024
1 parent 87cb85f commit 14fc343
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/HeaderWithBackButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ function HeaderWithBackButton({
{/* 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.progressBar}>
<View style={[{width: `${progressBarPercentage}%`}, styles.progressBarFill]} />
<View style={styles.headerProgressBar}>
<View style={[{width: `${progressBarPercentage}%`}, styles.headerProgressBarFill]} />
</View>
</View>
</>
Expand Down
4 changes: 2 additions & 2 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4414,15 +4414,15 @@ const styles = (theme: ThemeColors) =>
width: '100%',
},

progressBar: {
headerProgressBar: {
width: variables.componentSizeMedium,
height: variables.iconSizeXXXSmall,
borderRadius: variables.componentBorderRadiusRounded,
backgroundColor: theme.progressBarBackground,
alignSelf: 'center',
},

progressBarFill: {
headerProgressBarFill: {
borderRadius: variables.componentBorderRadiusRounded,
height: '100%',
backgroundColor: theme.progressBarFill,
Expand Down

0 comments on commit 14fc343

Please sign in to comment.