Commit e3416968 authored by Rob Schonberger's avatar Rob Schonberger Committed by Commit Bot

Hide Separators when Zero State Reinstall is enabled.

This fixes a UI bug only visible when this flag is on.

Bug: 911427
Change-Id: I31749509a5ba929fc484ae2812180bb2a5749fc1
Reviewed-on: https://chromium-review.googlesource.com/c/1491737
Commit-Queue: Rob Schonberger <robsc@chromium.org>
Reviewed-by: default avatarAlex Newcomer <newcomer@chromium.org>
Reviewed-by: default avatarJenny Zhang <jennyz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#636553}
parent 00786343
......@@ -123,8 +123,10 @@ int SearchResultTileItemListView::DoUpdate() {
}
if (i >= display_results.size()) {
if (is_play_store_app_search_enabled_)
if (is_app_reinstall_recommendation_enabled_ ||
is_play_store_app_search_enabled_) {
separator_views_[i]->SetVisible(false);
}
tile_views_[i]->SetResult(nullptr);
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment