react-native-ui-lib 9.0.3-snapshot.8013 → 9.0.3-snapshot.8016

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ui-lib",
3
- "version": "9.0.3-snapshot.8013",
3
+ "version": "9.0.3-snapshot.8016",
4
4
  "main": "src/index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",
@@ -36,7 +36,7 @@ const useAnimatedFooterStyle = props => {
36
36
  let translateY = 0;
37
37
  if (animationType === 'slide') {
38
38
  translateY = animatedValue.value;
39
- } else if (animationType === 'fade') {
39
+ } else {
40
40
  style = {
41
41
  opacity: animatedValue.value
42
42
  };
@@ -44,7 +44,7 @@ const useAnimatedFooterStyle = props => {
44
44
  if (keyboardBehavior === 'sticky' && Constants.isAndroid) {
45
45
  translateY += keyboard.height.value;
46
46
  }
47
- if (animationType === 'slide' || translateY !== 0) {
47
+ if (translateY !== 0) {
48
48
  style.transform = [{
49
49
  translateY
50
50
  }];