mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-06-02 13:33:10 +01:00
@@ -52,7 +52,7 @@ public class AnimatingToggle extends FrameLayout {
|
||||
|
||||
public void display(@Nullable View view) {
|
||||
if (view == current) return;
|
||||
if (current != null) ViewUtil.animateOut(current, outAnimation);
|
||||
if (current != null) ViewUtil.animateOut(current, outAnimation, View.GONE);
|
||||
if (view != null) ViewUtil.animateIn(view, inAnimation);
|
||||
|
||||
current = view;
|
||||
|
||||
Reference in New Issue
Block a user