Skip to content

Conversation

@norhanadel367
Copy link
Collaborator

@norhanadel367 norhanadel367 commented Oct 12, 2025

image

@sonarqubecloud
Copy link

<string name="skip">تخطى</string>

<!-- Account Setup UserTypeSelectionScreen -->
<string name="how_would_you_like_to_use_san3a">كيف ترغب في استخدام صُنع؟</string>
Copy link
Collaborator

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>
Copy link
Collaborator

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),
Copy link
Collaborator

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,
Copy link
Collaborator

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),
Copy link
Collaborator

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",
Copy link
Collaborator

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",
Copy link
Collaborator

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,
Copy link
Collaborator

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

Copy link
Collaborator

@HendSayed25 HendSayed25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as Eman :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants