Adds disabled prop to Button, style change name in AppSwitch component

This commit is contained in:
mashazyu authored and Sofiya Tepikin committed 2020-08-22 13:06:50 +02:00
1 parent 61ca71fd1f
commit 7afaa1e156
3 files changed
+14 -5

No files matched your search

@@ -75,7 +75,11 @@ export default class ConfirmWithPassword extends Component {
<Button onPress={this.props.onCancel}>
{shared.cancel}
</Button>
<Button isCTA={isPassword} onPress={this.initPasswordCheck}>
<Button
disabled={!isPassword}
isCTA={isPassword}
onPress={this.initPasswordCheck}
>
{shared.confirmToProceed}
</Button>
</View>