Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Fix crash in cipher edit screen
Browse files Browse the repository at this point in the history
Signed-off-by: M3DZIK <[email protected]>
  • Loading branch information
M3DZIK committed Aug 11, 2023
1 parent 62e895c commit 6deeed5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ fun LibrePassNavigation() {
val cipherTable = repository.cipher.get(UUID.fromString(cipherId))
?: return@composable

val cipher = Cipher(cipherTable.encryptedCipher, userSecrets!!.secretKey)
val cipher = Cipher(cipherTable.encryptedCipher, context.getUserSecrets()!!.secretKey)

CipherAddEditView(navController = navController, baseCipher = cipher)
}
Expand Down

0 comments on commit 6deeed5

Please sign in to comment.