mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Automated changes to remove implicit capture of self in blocks: Libraries/FBReactKit/BUCK
Reviewed By: javache Differential Revision: D3442470 fbshipit-source-id: 584a2bb3df5f7122166778b8fd44fae45560491e
This commit is contained in:
committed by
Facebook Github Bot 6
parent
41064991a2
commit
bcf4bb6edd
@@ -216,7 +216,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)init)
|
||||
RCTImageLoaderProgressBlock progressHandler = nil;
|
||||
if (_onProgress) {
|
||||
progressHandler = ^(int64_t loaded, int64_t total) {
|
||||
_onProgress(@{
|
||||
self->_onProgress(@{
|
||||
@"loaded": @((double)loaded),
|
||||
@"total": @((double)total),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user