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
+4 -6
View File
@@ -1772,23 +1772,21 @@
#pragma mark - activity indicator
- (void)stopActivityIndicator
{
- (BOOL)canStopActivityIndicator {
// Keep the loading wheel displayed while we are joining the room
if (joinRoomRequest)
{
return;
return NO;
}
// Check internal processes before stopping the loading wheel
if (isPaginationInProgress || isInputToolbarProcessing)
{
// Keep activity indicator running
return;
return NO;
}
// Leave super decide
[super stopActivityIndicator];
return [super canStopActivityIndicator];
}
#pragma mark - Pagination