mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 871651 - Only update user visible hint if it has changed (r=sriram)
This commit is contained in:
parent
6cd98cf5cc
commit
04425c18bb
@ -191,6 +191,10 @@ abstract class HomeFragment extends Fragment {
|
||||
|
||||
@Override
|
||||
public void setUserVisibleHint (boolean isVisibleToUser) {
|
||||
if (isVisibleToUser == getUserVisibleHint()) {
|
||||
return;
|
||||
}
|
||||
|
||||
super.setUserVisibleHint(isVisibleToUser);
|
||||
loadIfVisible();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user