Browse Source

[RN] Make video track fade-in effect cross-platform

master
Lyubo Marinov 7 years ago
parent
commit
48f4317adb

+ 1
- 3
react/features/base/media/components/native/VideoTrack.js View File

87
 
87
 
88
                 return this._animateVideoTrack(0);
88
                 return this._animateVideoTrack(0);
89
             })
89
             })
90
-            .catch(() => {
91
-                console.log('Animation was stopped');
92
-            });
90
+            .catch(() => console.log('Animation was stopped'));
93
     }
91
     }
94
 
92
 
95
     /**
93
     /**

+ 1
- 0
react/features/base/media/components/native/styles.js View File

1
 import { StyleSheet } from 'react-native';
1
 import { StyleSheet } from 'react-native';
2
+
2
 import { ColorPalette } from '../../../styles';
3
 import { ColorPalette } from '../../../styles';
3
 
4
 
4
 /**
5
 /**

Loading…
Cancel
Save