fix(ios): fix HippyDevLoadingView shows in release environment

This commit is contained in:
rocksgong
2022-08-01 16:01:54 +08:00
committed by zoomchan-cxj
parent 4bce58cf49
commit 37faba63ae
+1 -1
View File
@@ -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