mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 11:51:52 +03:00
revert TODO comments
This commit is contained in:
parent
0b10062a98
commit
d2cb3f6c7e
@ -135,7 +135,7 @@ class PinCodeContainer extends Component {
|
||||
//this function updates realm with appropriate master key required for encyrption
|
||||
//this function is important: must run while chaning pin
|
||||
//and even logging in with existing pin code
|
||||
//TODO: make sure this routine is not called
|
||||
|
||||
_updatePinCodeRealm = async (pinData) => {
|
||||
try {
|
||||
const { currentAccount, dispatch } = this.props;
|
||||
@ -259,7 +259,6 @@ class PinCodeContainer extends Component {
|
||||
} = this.props;
|
||||
const { oldPinCode } = this.state;
|
||||
|
||||
//TOOD: make sure user is set with defualt pin here.
|
||||
const pinData = {
|
||||
pinCode: pin,
|
||||
password: currentAccount ? currentAccount.password : '',
|
||||
@ -395,7 +394,6 @@ class PinCodeContainer extends Component {
|
||||
});
|
||||
});
|
||||
|
||||
//TODO: make sure pinCode is rather saved as different redux state, encryptedUnlockPin
|
||||
_savePinCode = (pin) => {
|
||||
const { dispatch } = this.props;
|
||||
const encryptedPin = encryptKey(pin, Config.PIN_KEY);
|
||||
|
Loading…
Reference in New Issue
Block a user