fixed crash when disallowing access to photos then trying again

This commit is contained in:
kyunghoon 2017-10-20 19:24:25 -04:00
parent 364b24554c
commit 124df2378e

View File

@ -498,7 +498,9 @@ RCT_EXPORT_MODULE()
- (UIView *)view
{
self.galleryView = [[CKGalleryView alloc] init];
if (self.galleryView == nil) {
self.galleryView = [[CKGalleryView alloc] init];
}
return self.galleryView;
}