Skip to content

Commit

Permalink
Merge pull request #2676 from myxmaster/missing-label-enter-passphrase
Browse files Browse the repository at this point in the history
Lockscreen: Display "Enter Passphrase" just like "Enter PIN"
  • Loading branch information
kaloudis authored Dec 27, 2024
2 parents 5a0371d + 630a3ac commit 214b99e
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions views/Lockscreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -414,23 +414,7 @@ export default class Lockscreen extends React.Component<
deletePin ||
deleteDuressPin ||
attemptAdminLogin) && (
<Header
leftComponent="Back"
centerComponent={
passphrase
? {
text: localeString(
'views.Lockscreen.enterPassphrase'
),
style: {
color: themeColor('text'),
fontFamily: 'PPNeueMontreal-Book'
}
}
: undefined
}
navigation={navigation}
/>
<Header leftComponent="Back" navigation={navigation} />
)}
{!!passphrase && (
<View
Expand All @@ -450,6 +434,18 @@ export default class Lockscreen extends React.Component<
message={this.generateErrorMessage()}
/>
)}
<View style={{ marginBottom: 40 }}>
<Text
style={{
...styles.mainText,
color: themeColor('text')
}}
>
{localeString(
'views.Lockscreen.enterPassphrase'
)}
</Text>
</View>
<View style={styles.inputContainer}>
<TextInput
placeholder={'****************'}
Expand Down

0 comments on commit 214b99e

Please sign in to comment.