chore: remove unused imports on mobile builds

This commit is contained in:
Lucas Nogueira
2022-12-12 15:14:04 -03:00
parent 1e4a675843
commit 8f47825aac

View File

@@ -18,20 +18,28 @@ use crate::{
manager::WindowManager,
runtime::{
http::{Request as HttpRequest, Response as HttpResponse},
menu::Menu,
monitor::Monitor as RuntimeMonitor,
webview::{WebviewAttributes, WindowBuilder as _},
window::{
dpi::{PhysicalPosition, PhysicalSize, Position, Size},
dpi::{PhysicalPosition, PhysicalSize},
DetachedWindow, JsEventListenerKey, PendingWindow,
},
Dispatch, RuntimeHandle, UserAttentionType,
Dispatch, RuntimeHandle,
},
sealed::ManagerBase,
sealed::RuntimeOrDispatch,
utils::config::WindowUrl,
CursorIcon, EventLoopMessage, Icon, Invoke, InvokeError, InvokeMessage, InvokeResolver, Manager,
PageLoadPayload, Runtime, Theme, WindowEvent,
EventLoopMessage, Invoke, InvokeError, InvokeMessage, InvokeResolver, Manager, PageLoadPayload,
Runtime, Theme, WindowEvent,
};
#[cfg(desktop)]
use crate::{
runtime::{
menu::Menu,
window::dpi::{Position, Size},
UserAttentionType,
},
CursorIcon, Icon,
};
use serde::Serialize;