mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
@@ -492,21 +492,16 @@ const CGFloat MXKViewControllerMaxExternalKeyboardHeight = 80;
|
||||
|
||||
#pragma mark - Activity indicator
|
||||
|
||||
- (void)stopActivityIndicator
|
||||
{
|
||||
- (BOOL)canStopActivityIndicator {
|
||||
// Check whether all conditions are satisfied before stopping loading wheel
|
||||
BOOL isActivityInProgress = NO;
|
||||
for (MXSession *mxSession in mxSessionArray)
|
||||
{
|
||||
if (mxSession.shouldShowActivityIndicator)
|
||||
{
|
||||
isActivityInProgress = YES;
|
||||
return NO;
|
||||
}
|
||||
}
|
||||
if (!isActivityInProgress)
|
||||
{
|
||||
[super stopActivityIndicator];
|
||||
}
|
||||
return [super canStopActivityIndicator];
|
||||
}
|
||||
|
||||
#pragma mark - Shake handling
|
||||
|
||||
Reference in New Issue
Block a user