Skip to content

Commit

Permalink
Merge pull request #427 from bounswe/MOBILE-426
Browse files Browse the repository at this point in the history
fix(mobile): Disable register Buttons
  • Loading branch information
aoengin authored Oct 22, 2024
2 parents bcf1b22 + 17f11e2 commit b7d9a85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mobile/bulingo/app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function Home() {
</Pressable>
</View> :
<View style={styles.buttonsContainer}>
<Pressable style={styles.rectangularButton} onPress={handleRegister}>
<Pressable style={[styles.rectangularButton, {'backgroundColor': 'gray'}]} onPress={handleRegister} disabled={true}>
<Text style={styles.buttonText}>Register</Text>
</Pressable>
<Pressable style={styles.rectangularButton} onPress={() => { router.navigate("/login") }}>
Expand Down
2 changes: 1 addition & 1 deletion mobile/bulingo/app/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default function Home() {
<View style={styles.registerContainer} >
<Text style={styles.smallText}>Don't have an account?</Text>
<View style={styles.buttonContainer}>
<Pressable style={styles.rectangularButton} onPress={handleRegister}>
<Pressable style={[styles.rectangularButton, {backgroundColor: 'gray'}]} onPress={handleRegister} disabled={true}>
<Text style={styles.buttonText}>Register</Text>
</Pressable>
</View>
Expand Down

0 comments on commit b7d9a85

Please sign in to comment.