Update password length to 256 (#941)

Fixes #922

Update the password length slider to support a maximum length of 256 characters.

* Change the `valueRange` parameter of the `Slider` component in `PasswordLengthInput.kt` to `7f..256f`.
* Change the `steps` parameter of the `Slider` component in `PasswordLengthInput.kt` to `249`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/yogeshpaliyal/KeyPass/issues/922?shareId=XXXX-XXXX-XXXX-XXXX).
This commit is contained in:
Yogesh Choudhary Paliyal
2024-08-13 09:50:07 +05:30
committed by GitHub
parent df2048656a
commit cb380decef

View File

@@ -16,7 +16,7 @@ fun PasswordLengthInput(
Slider(
value = length,
onValueChange = onPasswordLengthChange,
valueRange = 7f..50f,
steps = 43
valueRange = 7f..256f,
steps = 249
)
}