-
Notifications
You must be signed in to change notification settings - Fork 618
Feature:auth to cmp #2360
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
base: kmp-impl
Are you sure you want to change the base?
Feature:auth to cmp #2360
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
add("commonMainImplementation", project(":core:testing")) | ||
add("commonMainImplementation", project(":core:data")) | ||
// add("commonMainImplementation", project(":core:testing")) | ||
// add("commonMainImplementation", project(":core:data")) |
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.
Remove the testing one instead of commenting
@@ -141,7 +142,7 @@ internal fun LoginScreen( | |||
modifier = modifier | |||
.fillMaxSize() | |||
.padding(16.dp), | |||
containerColor = Color.White, | |||
containerColor = White, | |||
snackbarHost = { SnackbarHost(snackbarHostState) }, |
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.
I think we have to remove all explicitly defined colours like how we didit in mifos mobile
error = usernameError.value?.let { it1 -> stringResource(it1) }, | ||
trailingIcon = { | ||
if (usernameError.value != null) { | ||
Icon(imageVector = Icons.Filled.Error, contentDescription = null) | ||
Icon(imageVector = MifosIcons.Error, contentDescription = null) | ||
} |
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.
for content description give any valid string instead of null
// modifier: Modifier, | ||
// containerColor: Color, | ||
// snackbarHost: () -> SnackbarHost, | ||
// bottomBar: () -> Unit, |
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.
Can i know what is it for?
_loginUiState.value = | ||
LoginUiState.ShowError(R.string.feature_auth_error_login_failed) | ||
LoginUiState.ShowError(Res.string.feature_auth_error_login_failed) | ||
Log.e("@@@", "login: ${result.message}") | ||
} |
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 have removed import android.util.Log but didn't used Logger like that didn't it showing any error at Log?
Fixes - Jira-#MIFOSAC-414
Didn't create a Jira ticket, click here to create new.
Please Add Screenshots If there are any UI changes.
Please make sure these boxes are checked before submitting your pull request - thanks!
Run the static analysis check
./gradlew check
orci-prepush.sh
to make sure you didn't break anythingIf you have multiple commits please combine them into one commit by squashing them.