Disable autocomplete on tracker login password field
This commit is contained in:
parent
7e40680af0
commit
c61a51438d
@ -36,6 +36,7 @@ import androidx.compose.ui.platform.LocalContext
|
|||||||
import androidx.compose.ui.platform.LocalUriHandler
|
import androidx.compose.ui.platform.LocalUriHandler
|
||||||
import androidx.compose.ui.res.stringResource
|
import androidx.compose.ui.res.stringResource
|
||||||
import androidx.compose.ui.text.input.ImeAction
|
import androidx.compose.ui.text.input.ImeAction
|
||||||
|
import androidx.compose.ui.text.input.KeyboardType
|
||||||
import androidx.compose.ui.text.input.PasswordVisualTransformation
|
import androidx.compose.ui.text.input.PasswordVisualTransformation
|
||||||
import androidx.compose.ui.text.input.TextFieldValue
|
import androidx.compose.ui.text.input.TextFieldValue
|
||||||
import androidx.compose.ui.text.input.VisualTransformation
|
import androidx.compose.ui.text.input.VisualTransformation
|
||||||
@ -239,7 +240,10 @@ class SettingsTrackingScreen : SearchableSettings {
|
|||||||
} else {
|
} else {
|
||||||
VisualTransformation.None
|
VisualTransformation.None
|
||||||
},
|
},
|
||||||
keyboardOptions = KeyboardOptions(imeAction = ImeAction.Done),
|
keyboardOptions = KeyboardOptions(
|
||||||
|
keyboardType = KeyboardType.Password,
|
||||||
|
imeAction = ImeAction.Done,
|
||||||
|
),
|
||||||
singleLine = true,
|
singleLine = true,
|
||||||
isError = inputError && password.text.isEmpty(),
|
isError = inputError && password.text.isEmpty(),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user