adds Clean Copy Support
This commit is contained in:
@@ -36,6 +36,10 @@ public struct OverlayHost: View {
|
||||
if let note = model.note {
|
||||
NoteOverlay(note: note, onPassOn: { model.perform(.passNote) }, onClose: dismiss)
|
||||
}
|
||||
case .cleanCopy:
|
||||
if let cleanCopy = model.cleanCopy {
|
||||
CleanCopyOverlay(store: cleanCopy, onCopy: { model.perform(.copyCleanCopy) }, onClose: dismiss)
|
||||
}
|
||||
case let .recentFiles(initialSelection):
|
||||
RecentFilesOverlay(history: model.editor?.history ?? [], initialSelection: initialSelection,
|
||||
changedPaths: model.changedPaths,
|
||||
|
||||
Reference in New Issue
Block a user