summaryrefslogtreecommitdiffstats
path: root/ios/iosremote
diff options
context:
space:
mode:
authorSiqi LIU <me@siqi.fr>2013-08-18 15:59:41 +0800
committerSiqi LIU <me@siqi.fr>2013-08-21 17:23:53 +0800
commit8b331e590cf6c1e5a781b921aabd8b7614021ebd (patch)
treed3a20c1c913aec8717faa1c52658d66d062be833 /ios/iosremote
parentdeb#719941: pythonscript.py: use open() instead of file() (diff)
downloadcore-8b331e590cf6c1e5a781b921aabd8b7614021ebd.tar.gz
core-8b331e590cf6c1e5a781b921aabd8b7614021ebd.zip
dismiss spinner when found a service
Change-Id: I130f98ef1a98af858eb2125b275274bf4e18c66b
Diffstat (limited to 'ios/iosremote')
-rw-r--r--ios/iosremote/iosremote/serverList_vc.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/ios/iosremote/iosremote/serverList_vc.m b/ios/iosremote/iosremote/serverList_vc.m
index ff3ba36457ac..083c1be7af00 100644
--- a/ios/iosremote/iosremote/serverList_vc.m
+++ b/ios/iosremote/iosremote/serverList_vc.m
@@ -170,10 +170,10 @@
if(!moreComing)
{
- // [self.tableView reloadData];
- [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationAutomatic];
[self.searchTimeoutTimer invalidate];
[self.searchLabelTimer invalidate];
+ self.comManager.searchState = WAITING;
+ [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationAutomatic];
}
}
@@ -381,6 +381,7 @@
UIActivityIndicatorView * aiv = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
aiv.center = CGPointMake([sectionHeader.text sizeWithFont: sectionHeader.font].width + 2 * aiv.frame.size.width, sectionHeader.center.y);
[aiv startAnimating];
+ [aiv setTag:4];
[view addSubview:aiv];
}
return view;