fix: cannot detect service mode on home card

This commit is contained in:
wonfen
2025-03-19 05:25:38 +08:00
parent f18a8c901f
commit 7a86e4bd85
3 changed files with 10 additions and 10 deletions

View File

@@ -1,10 +1,8 @@
use chrono::Local;
use regex::Regex;
use reqwest::header::{HeaderMap, HeaderValue};
use reqwest::Client;
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use std::error::Error;
use std::sync::Arc;
use tauri::command;
use tokio::sync::Mutex;

View File

@@ -6,7 +6,6 @@ use crate::{
};
use anyhow::Result;
use serde_yaml::Mapping;
use tauri::Manager;
/// Patch Clash configuration
pub async fn patch_clash(patch: Mapping) -> Result<()> {