mirror of
https://github.com/status-im/react-native-keychain.git
synced 2026-08-27 13:01:15 +00:00
Clear form to demonstrate loading easily (#118)
This commit is contained in:
committed by
Joel Arvidsson
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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user