Skip to content

Commit

Permalink
Merge pull request #179 from EdgeApp/william/fix-landing-screen-text
Browse files Browse the repository at this point in the history
Fix the `landingScreenText` prop
  • Loading branch information
swansontec authored Apr 1, 2024
2 parents 521c747 + 17f9153 commit 0676640
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- changed: Move "password match" check to the "Password Requirements" Card
- fixed: Show the `landingScreenText` when provided.
- fixed: Unable to highlight password input fields when content is toggled visible

## 3.6.1 (2024-03-13)
Expand Down
4 changes: 2 additions & 2 deletions src/components/scenes/LandingScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import { ButtonsViewUi4 } from '../ui4/ButtonsViewUi4'

interface Props extends SceneProps<'landing'> {
branding: Branding
landingSceneText?: string
}

export const LandingScene = (props: Props) => {
const { branding } = props
const dispatch = useDispatch()
const { initialUserInfo, onLogEvent = () => {} } = useImports()

Expand Down Expand Up @@ -49,7 +49,7 @@ export const LandingScene = (props: Props) => {
<View style={styles.featureBoxContent}>
<View style={styles.featureBoxDescription}>
<Text style={styles.tagText}>
{props.landingSceneText || lstrings.landing_tagline}
{branding.landingSceneText ?? lstrings.landing_tagline}
</Text>
</View>
</View>
Expand Down

0 comments on commit 0676640

Please sign in to comment.