mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 05:20:28 +08:00
chore: temporarily allow clippy through
.
This commit is contained in:
parent
c92d1ac86e
commit
313ea520a5
@ -34,6 +34,7 @@ type ProxyMenuItem = (Option<Submenu<Wry>>, Vec<Box<dyn IsMenuItem<Wry>>>);
|
||||
|
||||
const TRAY_CLICK_DEBOUNCE_MS: u64 = 300;
|
||||
|
||||
#[allow(dead_code)]
|
||||
struct TrayState {
|
||||
menu_texts: MenuTexts,
|
||||
submenu_for_mode: bool,
|
||||
@ -163,6 +164,7 @@ pub struct Tray {
|
||||
singleton!(Tray, TRAY);
|
||||
|
||||
impl Tray {
|
||||
#[allow(clippy::unwrap_used)]
|
||||
fn new() -> Self {
|
||||
let app_handle = handle::Handle::app_handle();
|
||||
let mut state = TrayState::new();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user