Browse Source

Fixed bottom tab bar animation setting the wrong value (#1403)

Brendon Sled 7 years ago
parent
commit
abca139061

+ 0
- 2
android/app/src/main/java/com/reactnativenavigation/animation/VisibilityAnimator.java View File

@@ -46,7 +46,6 @@ public class VisibilityAnimator {
46 46
             animator.start();
47 47
         } else {
48 48
             view.setTranslationY(SHOW_END_VALUE);
49
-            view.setY(SHOW_END_VALUE);
50 49
             view.setVisibility(View.VISIBLE);
51 50
         }
52 51
     }
@@ -57,7 +56,6 @@ public class VisibilityAnimator {
57 56
             animator.start();
58 57
         } else {
59 58
             view.setTranslationY(hiddenEndValue);
60
-            view.setY(hiddenEndValue);
61 59
             view.setVisibility(View.GONE);
62 60
         }
63 61
     }