Ver código fonte

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

master
Lyubo Marinov 7 anos atrás
pai
commit
48f4317adb

+ 1
- 3
react/features/base/media/components/native/VideoTrack.js Ver arquivo

@@ -87,9 +87,7 @@ class VideoTrack extends AbstractVideoTrack {
87 87
 
88 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 Ver arquivo

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

Carregando…
Cancelar
Salvar