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
             animator.start();
46
             animator.start();
47
         } else {
47
         } else {
48
             view.setTranslationY(SHOW_END_VALUE);
48
             view.setTranslationY(SHOW_END_VALUE);
49
-            view.setY(SHOW_END_VALUE);
50
             view.setVisibility(View.VISIBLE);
49
             view.setVisibility(View.VISIBLE);
51
         }
50
         }
52
     }
51
     }
57
             animator.start();
56
             animator.start();
58
         } else {
57
         } else {
59
             view.setTranslationY(hiddenEndValue);
58
             view.setTranslationY(hiddenEndValue);
60
-            view.setY(hiddenEndValue);
61
             view.setVisibility(View.GONE);
59
             view.setVisibility(View.GONE);
62
         }
60
         }
63
     }
61
     }