Recents: adjust activity indicator display

This commit is contained in:
giomfo
2014-12-11 15:24:35 +01:00
parent 63f6685e17
commit 9b59a02bed
@@ -270,11 +270,6 @@
recentsListener = nil;
}
}
// Hide the loading wheel on login screen
if ([mxHandler isLogged] == NO) {
[self stopActivityIndicator];
}
}
- (void)createNewRoom:(id)sender {
@@ -318,6 +313,10 @@
if ([@"isInitialSyncDone" isEqualToString:keyPath]) {
dispatch_async(dispatch_get_main_queue(), ^{
[self configureView];
// Hide the activity indicator when Recents is not the current tab
if ([AppDelegate theDelegate].masterTabBarController.selectedIndex != TABBAR_RECENTS_INDEX) {
[self stopActivityIndicator];
}
});
} else if ([@"isResumeDone" isEqualToString:keyPath]) {
if ([[MatrixHandler sharedHandler] isResumeDone]) {