feat: support display current profile when the mouse is placed on the tray icon #782 (#938)

This commit is contained in:
lxk955
2024-04-27 20:54:02 +08:00
committed by GitHub
parent fa2e86df29
commit 26a3dbcbe1
2 changed files with 16 additions and 3 deletions

View File

@@ -65,6 +65,7 @@ pub async fn patch_profiles_config(profiles: IProfiles) -> CmdResult {
match CoreManager::global().update_config().await {
Ok(_) => {
handle::Handle::refresh_clash();
let _ = handle::Handle::update_systray_part();
Config::profiles().apply();
wrap_err!(Config::profiles().data().save_file())?;
Ok(())