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