Fix search bar background sometimes not showing
This commit is contained in:
1 parent
5431225595
commit
bd56b5ddf3
1 file changed
+1
-1
@@ -806,7 +806,7 @@ public class AllAppsContainerView extends AllAppsStretchLayout implements DragSo
|
||||
getSearchView().setBackgroundColor(viewBG);
|
||||
getFloatingHeaderView().setHeaderColor(viewBG);
|
||||
invalidateHeader();
|
||||
if (scrolledOffset == 0 && mSearchUiManager.getEditText() != null) {
|
||||
if (mHeaderColor == mScrimColor && mSearchUiManager.getEditText() != null) {
|
||||
mSearchUiManager.getEditText().show();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user