Adds disabled prop to Button, style change name in AppSwitch component
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user