fix: try to fix the language pack issue

This commit is contained in:
huzibaca
2025-01-12 22:22:06 +08:00
parent 9655f7712b
commit a56732e0a3
3 changed files with 20 additions and 36 deletions

View File

@@ -249,8 +249,10 @@ pub async fn patch_verge(patch: IVerge) -> Result<()> {
should_update_sysproxy = true;
}
if language.is_some()
|| common_tray_icon.is_some()
if language.is_some() {
should_update_systray_menu = true;
}
if common_tray_icon.is_some()
|| sysproxy_tray_icon.is_some()
|| tun_tray_icon.is_some()
|| tray_icon.is_some()