CB-7204 - Race condition when hiding and showing spinner (closes #21)

This commit is contained in:
Shazron Abdullah 2014-10-13 16:11:42 -07:00
parent c67622f1b9
commit d2e62a551c

View File

@ -292,13 +292,15 @@
duration:fadeDuration
options:UIViewAnimationOptionTransitionNone
animations:^(void) {
[_imageView setAlpha:0];
[_activityView setAlpha:0];
}
[_imageView setAlpha:0];
[_activityView setAlpha:0];
}
completion:^(BOOL finished) {
[self destroyViews];
}];
if (finished) {
[self destroyViews];
}
}
];
}
}