Skip to content

Commit

Permalink
[ios] [tab_grid] Hide empty state
Browse files Browse the repository at this point in the history
The empty state needs to be hidden if there are items showing.

Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I7feda2eb661b2bda31065eca99eee5445b359601
Reviewed-on: https://chromium-review.googlesource.com/1068259
Reviewed-by: edchin <edchin@chromium.org>
Reviewed-by: Sergio Collazos <sczs@chromium.org>
Commit-Queue: edchin <edchin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#560617}
  • Loading branch information
edx246 authored and Commit Bot committed May 22, 2018
1 parent c1161a7 commit 7099ace
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ - (void)viewWillAppear:(BOOL)animated {
scrollPosition:UICollectionViewScrollPositionTop];
// Update the delegate, in case it wasn't set when |items| was populated.
[self.delegate gridViewController:self didChangeItemCount:self.items.count];
[self animateEmptyStateOut];
}

- (void)viewDidAppear:(BOOL)animated {
Expand Down

0 comments on commit 7099ace

Please sign in to comment.