fix(profile): refresh timer after profile deletion to ensure state consistency

This commit is contained in:
Tunglies
2026-03-28 01:40:39 +08:00
parent c8f737d44e
commit add2c1036b
+1
View File
@@ -185,6 +185,7 @@ pub async fn delete_profile(index: String) -> CmdResult {
}
}
}
Timer::global().refresh().await.stringify_err()?;
Ok(())
}