|
@@ -339,19 +339,19 @@ fun ColumnScope.LoginButtonTV(
|
|
|
if (!isErrors) {
|
|
|
// ShowErrorRow(errorText = "Email is Empty")
|
|
|
coroutineScope.launch {
|
|
|
- snackBarStateRed.showSnackbar("Email is Empty")
|
|
|
+ snackBarStateRed.showSnackbar(context.getString(R.string.email_field_req))
|
|
|
}
|
|
|
}
|
|
|
else if (!isError1) {
|
|
|
// ShowErrorRow(errorText = "Password is Empty")
|
|
|
coroutineScope.launch {
|
|
|
- snackBarStateRed.showSnackbar("Password is Empty")
|
|
|
+ snackBarStateRed.showSnackbar(context.getString(R.string.password_field_req))
|
|
|
}
|
|
|
}
|
|
|
else if (!isError2) {
|
|
|
// ShowErrorRow(errorText = "Should be 3 or more!")
|
|
|
coroutineScope.launch {
|
|
|
- snackBarStateRed.showSnackbar("Password should be 3 or more!")
|
|
|
+ snackBarStateRed.showSnackbar(context.getString(R.string.password_validation))
|
|
|
}
|
|
|
}
|
|
|
|