mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-27 16:00:09 +08:00
fix(profile): refresh timer after profile deletion to ensure state consistency
This commit is contained in:
@@ -185,6 +185,7 @@ pub async fn delete_profile(index: String) -> CmdResult {
|
||||
}
|
||||
}
|
||||
}
|
||||
Timer::global().refresh().await.stringify_err()?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user