File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,6 @@ class LoginScreenView extends Component {
165
165
let totalBytes = ( mess . totalBytes / 1024 ) . toFixed ( 3 ) ;
166
166
let per = parseInt ( receivedBytes / totalBytes * 100 ) ;
167
167
this . props . showDialog ( dialogType . DOWNLOADING_PACKAGE ( per ) ) ;
168
- //this.props.downSchedule(per);
169
168
} )
170
169
. then ( LocalPackage => {
171
170
InteractionManager . runAfterInteractions ( ( ) => {
@@ -186,7 +185,7 @@ class LoginScreenView extends Component {
186
185
this . props . showDialog ( dialogType . UNKNOWN_ERROR ) ;
187
186
setTimeout ( ( ) => {
188
187
this . props . hideDialog ( ) ;
189
- } , 1000 ) ;
188
+ } , 500 ) ;
190
189
} ) ;
191
190
} ) ;
192
191
} ;
Original file line number Diff line number Diff line change @@ -27,10 +27,6 @@ export const UNKNOWN_ERROR = {
27
27
...PUBLIC_DIALOG ,
28
28
children : < UpdateDialog title = { '连接异常' } />
29
29
} ;
30
- export const AWAITING_USER_ACTION = {
31
- ...PUBLIC_DIALOG ,
32
- children : < UpdateDialog title = { '等待操作' } />
33
- } ;
34
30
export const UPDATE_INSTALLED = {
35
31
...PUBLIC_DIALOG ,
36
32
children : < UpdateDialog title = { '安装并重启' } />
You can’t perform that action at this time.
0 commit comments