Merge pull request #2588 from BlueWallet/2583

FIX: MS loading creation #2583
This commit is contained in:
GLaDOS 2021-02-08 11:53:39 +00:00 committed by GitHub
commit 52f1bdfe6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,6 @@ import {
BlueButton,
BlueButtonLink,
BlueFormMultiInput,
BlueLoading,
BlueSpacing10,
BlueSpacing20,
BlueSpacing40,
@ -675,11 +674,9 @@ const WalletsAddMultisigStep2 = () => {
);
};
const footer = isLoading ? (
<BlueLoading />
) : (
const footer = (
<View style={styles.buttonBottom}>
<BlueButton title={loc.multisig.create} onPress={onCreate} disabled={cosigners.length !== n} />
{isLoading ? <ActivityIndicator /> : <BlueButton title={loc.multisig.create} onPress={onCreate} disabled={cosigners.length !== n} />}
</View>
);
@ -718,7 +715,7 @@ const styles = StyleSheet.create({
buttonBottom: {
marginHorizontal: 20,
flex: 0.12,
marginBottom: 36,
marginBottom: 40,
justifyContent: 'flex-end',
},