Commit c78449db authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau Committed by GitHub

Merge pull request #143 from alma-connect/master

using RCTExecuteOnMainQueue instead of RCTExecuteOnMainThread…
parents 9e219430 e8d99384
......@@ -108,9 +108,9 @@ RCT_NOT_IMPLEMENTED(-init)
if ([NSThread isMainThread]) {
setImageBlock(loadedImage);
} else {
RCTExecuteOnMainThread(^{
RCTExecuteOnMainQueue(^{
setImageBlock(loadedImage);
}, NO);
});
}
}
}];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment