Update addMultisigStep2.js

This commit is contained in:
marcosrdz 2020-12-04 23:38:53 -05:00
parent 5829290501
commit 5428e10b01

View file

@ -130,8 +130,10 @@ const WalletsAddMultisigStep2 = () => {
},
});
const onCreate = async () => {
const onCreate = () => {
setIsLoading(true);
// give it time to show loading indicator
setTimeout(async () => {
const w = new MultisigHDWallet();
w.setM(m);
switch (format) {
@ -164,6 +166,7 @@ const WalletsAddMultisigStep2 = () => {
ReactNativeHapticFeedback.trigger('notificationSuccess', { ignoreAndroidSystemSettings: false });
navigation.dangerouslyGetParent().pop();
}, 100);
};
const generateNewKey = () => {