Skip to content

Commit

Permalink
Merge remote-tracking branch 'maryam/fix-multiple-lines-in-login-inpu…
Browse files Browse the repository at this point in the history
…t-field'
  • Loading branch information
Pururun committed Dec 7, 2023
2 parents 74340e9 + 511b949 commit cf7f6cc
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ import net.mullvad.mullvadvpn.compose.component.MullvadCircularProgressIndicator
import net.mullvad.mullvadvpn.compose.component.ScaffoldWithTopBar
import net.mullvad.mullvadvpn.compose.state.LoginError
import net.mullvad.mullvadvpn.compose.state.LoginState
import net.mullvad.mullvadvpn.compose.state.LoginState.*
import net.mullvad.mullvadvpn.compose.state.LoginState.Idle
import net.mullvad.mullvadvpn.compose.state.LoginState.Loading
import net.mullvad.mullvadvpn.compose.state.LoginState.Success
import net.mullvad.mullvadvpn.compose.state.LoginUiState
import net.mullvad.mullvadvpn.compose.test.LOGIN_INPUT_TEST_TAG
import net.mullvad.mullvadvpn.compose.test.LOGIN_TITLE_TEST_TAG
Expand Down Expand Up @@ -196,7 +198,9 @@ private fun LoginContent(
label = {
Text(
text = stringResource(id = R.string.login_description),
color = Color.Unspecified
color = Color.Unspecified,
maxLines = 1,
overflow = TextOverflow.Ellipsis
)
},
keyboardActions =
Expand Down

0 comments on commit cf7f6cc

Please sign in to comment.