mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
chore: remove unused imports on mobile builds
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user