diff --git a/LLDebugTool/Core/Component/ShortCut/Function/LLShortCutModel.m b/LLDebugTool/Core/Component/ShortCut/Function/LLShortCutModel.m index 3651183d..2b7c01f7 100644 --- a/LLDebugTool/Core/Component/ShortCut/Function/LLShortCutModel.m +++ b/LLDebugTool/Core/Component/ShortCut/Function/LLShortCutModel.m @@ -55,7 +55,7 @@ + (LLShortCutModel *)resetStandardUserDefaultsModel { dispatch_once(&onceToken, ^{ _resetStandardUserDefaultsModel = [[LLShortCutModel alloc] initWithName:@"Reset User Defaults" action:^NSString *_Nullable { - [NSUserDefaults resetStandardUserDefaults]; + [[NSUserDefaults standardUserDefaults] removePersistentDomainForName:[NSBundle mainBundle].bundleIdentifier]; return nil; }]; });