Преглед изворни кода

preset totalProgress to avoid error on android

Ifedapo Olarewaju пре 6 година
родитељ
комит
9f02d749b9
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      examples/react-native-expo/App.js

+ 2 - 1
examples/react-native-expo/App.js

@@ -53,7 +53,8 @@ export default class App extends React.Component {
       isPaused: false,
       uploadStarted: false,
       uploadComplete: false,
-      info: null
+      info: null,
+      totalProgress: 0
     }
 
     this.isReactNative = (typeof navigator !== 'undefined' &&