Files
KeyPass/common
Yogesh Choudhary Paliyal d5e2608159 Add password hint field (#970)
* Add password hint field

Fixes #957

Add a password hint field to the authentication screen.

* **UserSettings.kt**: Add a new property `passwordHint` of type `String?` to the `UserSettings` data class.
* **SharedPreferenceUtils.kt**: Add functions `setPasswordHint` and `getPasswordHint` to save and retrieve the password hint in the `UserSettings` data store.
* **AuthScreen.kt**: Add a new state variable `passwordHint` to store the password hint. Add an `OutlinedTextField` for the password hint in the `Column` layout. Update the `ButtonBar` call to pass the `passwordHint` state variable.
* **ButtonBar.kt**: Add a new parameter `passwordHint` to the `ButtonBar` composable function. Update the `onClick` handler for the `Button` to save the password hint using the `setPasswordHint` function.
* **strings.xml**: Add a new string resource `enter_password_hint` with the value "Enter password hint".

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/yogeshpaliyal/KeyPass/issues/957?shareId=XXXX-XXXX-XXXX-XXXX).

* feat: add password hint
2024-09-14 16:57:04 +05:30
..
2024-09-14 16:57:04 +05:30