mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2026-04-29 03:01:51 -05:00
Fix app lock issue (#958)
* Fix app lock issue Fixes #954 Add app lock feature when the app is not in the foreground. * **Settings Fragment** - Add a new setting to specify the time duration after which the app will lock when not in the foreground. - Update the UI to include this new setting. * **Dashboard Activity** - Implement logic to lock the app when it goes to the background. - Use the new setting to determine the time duration after which the app will lock. - Add handlers to manage the lock timeout when the app is paused and resumed. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/yogeshpaliyal/KeyPass/issues/954?shareId=XXXX-XXXX-XXXX-XXXX). * feat: minor improvements * feat: minor improvements * feat: spotless fixes
This commit is contained in:
committed by
GitHub
parent
c1822fdef9
commit
7082eddef3
@@ -8,6 +8,7 @@ const val DEFAULT_PASSWORD_LENGTH = 10f
|
||||
@Keep
|
||||
@Serializable
|
||||
data class UserSettings(
|
||||
val isDefault: Boolean = false,
|
||||
val keyPassPassword: String? = null,
|
||||
val dbPassword: String? = null,
|
||||
@Deprecated("Use passwordConfig instead")
|
||||
|
||||
Reference in New Issue
Block a user