Room user indicators

Signed-off-by: Andy Uhnak <andyuhnak@gmail.com>
This commit is contained in:
Andy Uhnak
2022-02-23 09:47:35 +00:00
parent bbc33ed0cf
commit 4617b3ed69
28 changed files with 458 additions and 329 deletions
@@ -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