Skip to content

Commit

Permalink
chore(ios): code quality improve
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwcg committed Jul 19, 2024
1 parent fb55d09 commit 6512de3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ios/sdk/base/executors/HippyJSCExecutor.mm
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ static unicode_string_view NSStringToU8(NSString* str) {
}
};
std::unique_ptr<Engine::RegisterMap> ptr = std::make_unique<Engine::RegisterMap>();
ptr->insert(std::make_pair("ASYNC_TASK_END", taskEndCB));
ptr->insert(std::make_pair(hippy::base::kAsyncTaskEndKey, taskEndCB));
ptr->insert(std::make_pair(hippy::base::kContextCreatedCBKey, ctxCreateCB));
ptr->insert(std::make_pair(hippy::base::KScopeInitializedCBKey, scopeInitializedCB));
return ptr;
Expand Down
1 change: 1 addition & 0 deletions ios/sdk/module/animation2/pop/HPOPAnimator.mm
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

#import <list>
#import <vector>
#import <unordered_map>

#if !TARGET_OS_IPHONE
#import <libkern/OSAtomic.h>
Expand Down

0 comments on commit 6512de3

Please sign in to comment.