mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-04 20:37:32 +08:00
fix: fixes #2460
This commit is contained in:
parent
3f02859203
commit
542baf9d69
@ -400,6 +400,7 @@ const ProfilePage = () => {
|
||||
onEdit={() => viewerRef.current?.edit(item)}
|
||||
onSave={async (prev, curr) => {
|
||||
if (prev !== curr && profiles.current === item.uid) {
|
||||
await onEnhance(false);
|
||||
await restartCore();
|
||||
Notice.success(t("Clash Core Restarted"), 1000);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user