mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Fix visibility of notification footer divider
Now it is only visible when the notification footer is present, instead of always being visible. Change-Id: Ie85ff31918901115cdfe55b36e75aa80b43e7b13
This commit is contained in:
@@ -205,6 +205,7 @@ public class NotificationFooterLayout extends FrameLayout {
|
||||
collapseFooter.addListener(new AnimatorListenerAdapter() {
|
||||
@Override
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
((ViewGroup) getParent()).findViewById(R.id.divider).setVisibility(GONE);
|
||||
((ViewGroup) getParent()).removeView(NotificationFooterLayout.this);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user