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