mirror of
https://github.com/status-im/react-native-keychain.git
synced 2025-02-17 15:47:29 +00:00
Clear form to demonstrate loading easily (#118)
This commit is contained in:
parent
ee959ba42e
commit
f657bf8bc9
@ -37,7 +37,7 @@ export default class KeychainExample extends Component {
|
||||
this.state.password,
|
||||
{ accessControl: this.state.accessControl }
|
||||
);
|
||||
this.setState({ status: 'Credentials saved!' });
|
||||
this.setState({ username: '', password: '', status: 'Credentials saved!' });
|
||||
} catch (err) {
|
||||
this.setState({ status: 'Could not save credentials, ' + err });
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user