Reset data after folder change

This commit is contained in:
Christoph Hagen
2024-12-17 23:24:07 +01:00
parent 9a53e020a7
commit 9c828ff80a
9 changed files with 51 additions and 16 deletions

View File

@ -560,6 +560,7 @@ final class Storage: ObservableObject {
}
}
@discardableResult
func save(outputPath: URL) -> Bool {
guard let contentPath else { return false }
guard let bookmarkData = encode(url: outputPath) else { return false }