feat: edit a transcript in the Notitie editor, delete button per transcript
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -78,6 +78,15 @@ public final class HistoryViewModel: ObservableObject {
|
||||
store.remove(id: id)
|
||||
refresh()
|
||||
}
|
||||
|
||||
public func entry(id: UUID) -> HistoryEntry? {
|
||||
store.entries.first { $0.id == id }
|
||||
}
|
||||
|
||||
public func updateText(id: UUID, to text: String) {
|
||||
store.updateText(id: id, to: text)
|
||||
refresh()
|
||||
}
|
||||
}
|
||||
|
||||
/// Dictionary rows with warnings, search, editing and undo.
|
||||
|
||||
Reference in New Issue
Block a user