added a separate tab view for clipboard and added the possibility to write notes

This commit is contained in:
delli 2025-12-14 23:24:04 +01:00
commit 4106e845ee
10 changed files with 688 additions and 6 deletions

View file

@ -578,6 +578,17 @@ class AppDelegate: NSObject, NSApplicationDelegate {
} else {
NotificationCenter.default.post(name: NSNotification.Name("ToggleClipboardPopover"), object: nil)
}
case .separateTab:
if self.vm.notchState == .closed {
self.vm.open()
self.coordinator.currentView = .notes
} else {
if self.coordinator.currentView == .notes {
self.vm.close()
} else {
self.coordinator.currentView = .notes
}
}
}
}