Skip to content

Commit

Permalink
[iOS] Change theme change event name.
Browse files Browse the repository at this point in the history
  • Loading branch information
qianyuan.wqy committed Nov 29, 2019
1 parent e3c8834 commit 273836d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ - (void)setCurrentThemeName:(NSString*)name

[[WXSDKManager bridgeMgr] fireEvent:_instanceId
ref:WX_SDK_ROOT_REF
type:@"themechanged"
type:@"themechange"
params:@{@"theme": self.themeName?:@"light"}
domChanges:nil];
}
Expand Down

0 comments on commit 273836d

Please sign in to comment.