Merge branch 'bugfix/loading_indicator_freeze' into 'release/6_20'
beginningLoading should not be called multiple times See merge request BPHV_MIPS/mvm_core!34
This commit is contained in:
commit
7b64f67c15
@ -63,14 +63,14 @@
|
||||
if (self.loadingViewController) {
|
||||
self.loadCount++;
|
||||
|
||||
// Notify we are beginning the laod
|
||||
if ([[MVMCoreObject sharedInstance].loadingProtocol respondsToSelector:@selector(beginningLoading)]) {
|
||||
[[MVMCoreObject sharedInstance].loadingProtocol beginningLoading];
|
||||
}
|
||||
|
||||
// If we are already waiting to animate or animating in, do nothing.
|
||||
if (!self.animationTimer && !self.animatingIn) {
|
||||
|
||||
// Notify we are beginning the laod
|
||||
if ([[MVMCoreObject sharedInstance].loadingProtocol respondsToSelector:@selector(beginningLoading)]) {
|
||||
[[MVMCoreObject sharedInstance].loadingProtocol beginningLoading];
|
||||
}
|
||||
|
||||
// Restarts the loading animation.
|
||||
[self.loadingViewController startLoading];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user