Skip to content

Commit

Permalink
fix(ios): debug reload module not working
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwcg committed May 14, 2024
1 parent c63f221 commit 7910930
Show file tree
Hide file tree
Showing 9 changed files with 156 additions and 215 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,6 @@ - (BOOL)isDebugMode {
return _isDebugMode;
}

- (void)reload:(HippyBridge *)bridge {
[self mountConnector:_hippyBridge];
}

- (void)removeRootView:(NSNumber *)rootTag bridge:(HippyBridge *)bridge {
[[[self.contentAreaView subviews] firstObject] removeFromSuperview];
}
Expand Down
4 changes: 3 additions & 1 deletion framework/ios/base/HippyKeyCommands.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
/**
* Register a single-press keyboard command.
*/
- (void)registerKeyCommandWithInput:(NSString *)input modifierFlags:(UIKeyModifierFlags)flags action:(void (^)(UIKeyCommand *command))block;
- (void)registerKeyCommandWithInput:(NSString *)input
modifierFlags:(UIKeyModifierFlags)flags
action:(void (^)(UIKeyCommand *command))block;

/**
* Unregister a single-press keyboard command.
Expand Down
Loading

0 comments on commit 7910930

Please sign in to comment.