Skip to content

Commit

Permalink
use typescript'
Browse files Browse the repository at this point in the history
  • Loading branch information
marcaaron committed Jan 12, 2024
1 parent 32e8272 commit 58ba699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function UpdateRequiredView() {
return (
<View style={[styles.appBG, styles.h100, StyleUtils.getSafeAreaPadding(insets)]}>
<HeaderGap />
<View style={[styles.pt5, styles.ph5, styles.updateRequiredHeader]}>
<View style={[styles.pt5, styles.ph5, styles.updateRequiredViewHeader]}>
<Header title={translate('updateRequiredView.updateRequired')} />
</View>
<View style={[styles.flex1, StyleUtils.getUpdateRequiredViewStyles(isSmallScreenWidth)]}>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@ const createStyleUtils = (theme: ThemeColors, styles: ThemeStyles) => ({
return containerStyles;
},

getUpdateRequiredViewStyles: (isSmallScreenWidth: boolean) => [
getUpdateRequiredViewStyles: (isSmallScreenWidth: boolean): ViewStyle[] => [
{
alignItems: 'center',
justifyContent: 'center',
Expand Down

0 comments on commit 58ba699

Please sign in to comment.