mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-29 14:10:47 +08:00
fix(ios): fix HippyDevLoadingView shows in release environment
This commit is contained in:
@@ -149,7 +149,7 @@ HIPPY_NOT_IMPLEMENTED(-(instancetype)initWithDelegate
|
||||
sourceCode = source;
|
||||
dispatch_group_leave(initModulesAndLoadSource);
|
||||
} onProgress:^(HippyLoadingProgress *progressData) {
|
||||
#ifdef HIPPY_DEV
|
||||
#if HIPPY_DEV
|
||||
HippyDevLoadingView *loadingView = [weakSelf moduleForClass:[HippyDevLoadingView class]];
|
||||
[loadingView updateProgress:progressData];
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user