Skip to content

Commit

Permalink
do not require login after setting new pin or password, improve delet…
Browse files Browse the repository at this point in the history
…e password button color
  • Loading branch information
myxmaster committed May 11, 2024
1 parent 551e251 commit 91947fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions views/Settings/SetPassword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default class SetPassphrase extends React.Component<
}

await updateSettings({ passphrase }).then(() => {
setLoginStatus(false);
setLoginStatus(true);
getSettings();
navigation.navigate('Settings', {
refresh: true
Expand Down Expand Up @@ -254,10 +254,7 @@ export default class SetPassphrase extends React.Component<
this.deletePassword();
}
}}
titleStyle={{
color: themeColor('delete')
}}
secondary
warning
/>
</View>
)}
Expand Down
2 changes: 1 addition & 1 deletion views/Settings/SetPin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default class SetPin extends React.Component<SetPinProps, SetPinState> {
}

await updateSettings({ pin }).then(() => {
setLoginStatus(false);
setLoginStatus(true);
getSettings();
navigation.navigate('Settings', {
refresh: true
Expand Down

0 comments on commit 91947fe

Please sign in to comment.