mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Merge pull request #5690 from vector-im/andy/5603_room_indicators
Room activity indicators
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user