mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 22:45:18 +01:00
fix the disappearance of the search icon
In SharedMediaLayout when you are searching for somthing and sroll to a mediapage than doesn't support search but you regret and go back the search icon is gone in a mediaPage than do support searching, this behavor is OK in MediaActivity
This commit is contained in:
parent
4c5f32babf
commit
72f40b9a44
1 changed files with 0 additions and 3 deletions
|
@ -2714,9 +2714,6 @@ public class SharedMediaLayout extends FrameLayout implements NotificationCenter
|
||||||
if (searchItemState == 2 && actionBar.isSearchFieldVisible()) {
|
if (searchItemState == 2 && actionBar.isSearchFieldVisible()) {
|
||||||
ignoreSearchCollapse = true;
|
ignoreSearchCollapse = true;
|
||||||
actionBar.closeSearchField();
|
actionBar.closeSearchField();
|
||||||
searchItemState = 0;
|
|
||||||
searchItem.setAlpha(0.0f);
|
|
||||||
searchItem.setVisibility(View.INVISIBLE);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue