Skip to content

Commit

Permalink
add label views.Lockscreen.enterPassphrase
Browse files Browse the repository at this point in the history
  • Loading branch information
myxmaster committed Dec 25, 2024
1 parent f4b86cf commit 630a3ac
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 630a3ac

Please sign in to comment.