Skip to content

Commit

Permalink
Merge pull request #67 from hegocre/fix/folder-editing
Browse files Browse the repository at this point in the history
Fix crash when editing folders
  • Loading branch information
hegocre authored Dec 17, 2023
2 parents 5ee35e7 + 5394cae commit 3e5ad57
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ class EditableFolderState(originalFolder: Folder?) {
},
restore = {
EditableFolderState(null).apply {
label = it[1]
parent = it[2]
favorite = it[6].toBooleanStrictOrNull() ?: false
label = it[0]
parent = it[1]
favorite = it[2].toBooleanStrictOrNull() ?: false
}
}
)
Expand Down

0 comments on commit 3e5ad57

Please sign in to comment.