Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lockscreen: Display "Enter Passphrase" just like "Enter PIN" #2676

Merged
merged 1 commit into from
Dec 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading