mirror of
https://github.com/priyanshujain/margin.git
synced 2026-10-02 11:07:04 +00:00
feat(macos): trigger Apple Intelligence writing tools from the editor
This commit is contained in:
1 parent
fe39274ed7
commit
9e310a34bb
5 files changed
+108
-2
No files matched your search
@@ -7,6 +7,7 @@ mod macspell;
|
||||
mod pdf;
|
||||
mod project;
|
||||
mod proofing;
|
||||
mod writingtools;
|
||||
|
||||
#[cfg(desktop)]
|
||||
use tauri::menu::{Menu, MenuItemBuilder, MenuItemKind, PredefinedMenuItem, SubmenuBuilder};
|
||||
@@ -151,6 +152,7 @@ pub fn run() {
|
||||
.manage(gdrive::GDriveState::default())
|
||||
.setup(|app| {
|
||||
gdrive::init_session(app.handle());
|
||||
writingtools::label_writing_tool_shortcuts();
|
||||
Ok(())
|
||||
});
|
||||
|
||||
@@ -193,6 +195,7 @@ pub fn run() {
|
||||
library::delete_book,
|
||||
proofing::proof_text,
|
||||
proofing::remember_word,
|
||||
writingtools::run_writing_tool,
|
||||
gdrive::gdrive_connect,
|
||||
gdrive::gdrive_disconnect,
|
||||
gdrive::gdrive_status,
|
||||
|
||||
Reference in new issue
Block a user