remove getSync from channel creation success
This commit is contained in:
parent
5d38da2d46
commit
3ddd0b5b50
1 changed files with 1 additions and 3 deletions
|
@ -448,7 +448,6 @@ export default class ChannelCreator extends React.PureComponent {
|
||||||
showCreateChannel: false,
|
showCreateChannel: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
logPublish(channelClaim);
|
|
||||||
if (onChannelChange) {
|
if (onChannelChange) {
|
||||||
onChannelChange(channelName);
|
onChannelChange(channelName);
|
||||||
}
|
}
|
||||||
|
@ -458,8 +457,7 @@ export default class ChannelCreator extends React.PureComponent {
|
||||||
notify({ message: 'The channel was successfully created.' });
|
notify({ message: 'The channel was successfully created.' });
|
||||||
this.showChannelList();
|
this.showChannelList();
|
||||||
|
|
||||||
// sync wallet
|
logPublish(channelClaim);
|
||||||
NativeModules.UtilityModule.getSecureValue(Constants.KEY_WALLET_PASSWORD).then(password => getSync(password));
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const failure = () => {
|
const failure = () => {
|
||||||
|
|
Loading…
Reference in a new issue