diff --git a/src/pages/profiles.tsx b/src/pages/profiles.tsx index 41e81b2c..e8d5d187 100644 --- a/src/pages/profiles.tsx +++ b/src/pages/profiles.tsx @@ -27,6 +27,7 @@ import { useTranslation } from "react-i18next"; import { importProfile, enhanceProfiles, + restartCore, getRuntimeLogs, deleteProfile, updateProfile, @@ -399,7 +400,8 @@ 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); } }} onDelete={() => onDelete(item.uid)}