1
0
Will Crichton 1 жил өмнө
parent
commit
7bede0be59

+ 0 - 3
packages/desktop/src/desktop_context.rs

@@ -1,6 +1,4 @@
 use std::cell::RefCell;
 use std::cell::RefCell;
-use std::future::Future;
-use std::path::Path;
 use std::rc::Rc;
 use std::rc::Rc;
 use std::rc::Weak;
 use std::rc::Weak;
 
 
@@ -9,7 +7,6 @@ use crate::events::IpcMessage;
 use crate::protocol::AssetFuture;
 use crate::protocol::AssetFuture;
 use crate::protocol::AssetHandlerId;
 use crate::protocol::AssetHandlerId;
 use crate::protocol::AssetHandlerRegistry;
 use crate::protocol::AssetHandlerRegistry;
-use crate::protocol::AssetResponse;
 use crate::query::QueryEngine;
 use crate::query::QueryEngine;
 use crate::shortcut::{HotKey, ShortcutId, ShortcutRegistry, ShortcutRegistryError};
 use crate::shortcut::{HotKey, ShortcutId, ShortcutRegistry, ShortcutRegistryError};
 use crate::AssetHandler;
 use crate::AssetHandler;

+ 0 - 2
packages/desktop/src/webview.rs

@@ -1,5 +1,3 @@
-use std::sync::Arc;
-
 use crate::desktop_context::EventData;
 use crate::desktop_context::EventData;
 use crate::protocol::{self, AssetHandlerRegistry};
 use crate::protocol::{self, AssetHandlerRegistry};
 use crate::{desktop_context::UserWindowEvent, Config};
 use crate::{desktop_context::UserWindowEvent, Config};