-
Notifications
You must be signed in to change notification settings - Fork 4
Feature/user type selections screen #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
| <string name="skip">تخطى</string> | ||
|
|
||
| <!-- Account Setup UserTypeSelectionScreen --> | ||
| <string name="how_would_you_like_to_use_san3a">كيف ترغب في استخدام صُنع؟</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
اين الهوية؟ اين كرافتو؟
| <string name="account_setup_craftsman_category_description">Choose your specialties to get relevant job requests. You can change this later.</string> | ||
|
|
||
| <!-- Account Setup UserTypeSelectionScreen --> | ||
| <string name="how_would_you_like_to_use_san3a">How would you like to use San3a?</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here regarding the name
| .fillMaxSize() | ||
| .windowInsetsPadding(WindowInsets.safeDrawing) | ||
| .background(AppTheme.craftoColors.background.screen) | ||
| .padding(horizontal = 16.dp, vertical = 16.dp), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can give only one value for the padding as it is the same
| ) { | ||
| ProgressIndicator( | ||
| currentPage = 1, | ||
| totalPage = 4, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why we have hard values? we should pass them
| .fillMaxWidth(0.75f) | ||
| ) | ||
| Column( | ||
| modifier = Modifier.weight(1f), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can use one col for simplicity
| img = painterResource(Res.drawable.customer), | ||
| title = stringResource(Res.string.customer), | ||
| caption = stringResource(Res.string.i_need_help_with_a_service), | ||
| isSelected = selectedRole == "Customer", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plz avoid hard coded strings
| img = painterResource(Res.drawable.carftsman), | ||
| title = stringResource(Res.string.craftsman), | ||
| caption = stringResource(Res.string.i_offer_services), | ||
| isSelected = selectedRole == "Craftsman", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here regarding the hard code strings
|
|
||
| PrimaryButton( | ||
| text = stringResource(Res.string.next), | ||
| enabled = true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if there is no default selection, we need to keep the button disabled until the user choose a card
HendSayed25
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as Eman :)



Uh oh!
There was an error while loading. Please reload this page.