Skip to content

Commit

Permalink
Merge pull request #273 from aivanovski/feature/fix-templates-checkbo…
Browse files Browse the repository at this point in the history
…x-in-new-database-screen

Fix templates checkbox behavior in New Database screen
  • Loading branch information
aivanovski authored Jul 20, 2024
2 parents a201db1 + 10eb369 commit 9619a60
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,15 @@ class KeepassDatabaseRepository(
type: KeepassImplementation,
key: EncryptedDatabaseKey,
file: FileDescriptor,
addTemplates: Boolean
isAddTemplates: Boolean
): OperationResult<Boolean> {
return lock.withLock {
val dbResult = KotpassDatabase.new(
fsResolver = fileSystemResolver,
fsOptions = defaultOptions(),
file = file,
key = key,
isAddTemplates = true
isAddTemplates = isAddTemplates
)
if (dbResult.isFailed) {
return@withLock dbResult.takeError()
Expand Down

0 comments on commit 9619a60

Please sign in to comment.