mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 14:37:48 +01:00
Disable autocomplete on tracker login password field
This commit is contained in:
parent
7e40680af0
commit
c61a51438d
1 changed files with 5 additions and 1 deletions
|
@ -36,6 +36,7 @@ import androidx.compose.ui.platform.LocalContext
|
|||
import androidx.compose.ui.platform.LocalUriHandler
|
||||
import androidx.compose.ui.res.stringResource
|
||||
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.TextFieldValue
|
||||
import androidx.compose.ui.text.input.VisualTransformation
|
||||
|
@ -239,7 +240,10 @@ class SettingsTrackingScreen : SearchableSettings {
|
|||
} else {
|
||||
VisualTransformation.None
|
||||
},
|
||||
keyboardOptions = KeyboardOptions(imeAction = ImeAction.Done),
|
||||
keyboardOptions = KeyboardOptions(
|
||||
keyboardType = KeyboardType.Password,
|
||||
imeAction = ImeAction.Done,
|
||||
),
|
||||
singleLine = true,
|
||||
isError = inputError && password.text.isEmpty(),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue