Generate tag overview, add file action

This commit is contained in:
Christoph Hagen
2025-01-05 09:21:21 +01:00
parent 0dca633805
commit 01baf560ee
27 changed files with 501 additions and 137 deletions

View File

@ -4,6 +4,10 @@ class Item: ObservableObject, Identifiable {
unowned let content: Content
/// A dummy property to force views to update when properties change
@Published
private var changeToggle = false
@Published
var id: String
@ -12,6 +16,10 @@ class Item: ObservableObject, Identifiable {
self.id = id
}
func didChange() {
changeToggle.toggle()
}
func makeCleanAbsolutePath(_ path: String) -> String {
"/" + makeCleanRelativePath(path)
}