Browse Source

Fix wording issue

feature/bma/flipper
Benoit Marty 2 years ago committed by Benoit Marty
parent
commit
339c6297a1
  1. 2
      .maestro/tests/account/login.yaml
  2. 2
      features/login/src/main/java/io/element/android/x/features/login/root/LoginRootScreen.kt

2
.maestro/tests/account/login.yaml

@ -5,7 +5,7 @@ appId: ${APP_ID} @@ -5,7 +5,7 @@ appId: ${APP_ID}
- takeScreenshot: build/maestro/100-SignIn
- runFlow: changeServer.yaml
- runFlow: ../assertions/assertLoginDisplayed.yaml
- tapOn: "Email or username"
- tapOn: "Username or email"
# ios
# - tapOn:
# id: "usernameTextField"

2
features/login/src/main/java/io/element/android/x/features/login/root/LoginRootScreen.kt

@ -138,7 +138,7 @@ fun LoginRootScreen( @@ -138,7 +138,7 @@ fun LoginRootScreen(
.fillMaxWidth()
.padding(top = 60.dp),
label = {
Text(text = "Email or username")
Text(text = stringResource(id = ElementR.string.login_signin_username_hint))
},
onValueChange = {
loginFieldState = it

Loading…
Cancel
Save