rc bump + loading message

Show initializing message after blockchain headers download status disappears
This commit is contained in:
Thomas Zarebczan 2018-08-13 16:01:33 -04:00 committed by Sean Yesmunt
parent a8092cec0a
commit 938fa70ac3
2 changed files with 2 additions and 7 deletions

View file

@ -132,7 +132,7 @@
"yarn": "^1.3" "yarn": "^1.3"
}, },
"lbrySettings": { "lbrySettings": {
"lbrynetDaemonVersion": "0.21.1rc1", "lbrynetDaemonVersion": "0.21.1rc2",
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-daemon-vDAEMONVER-OSNAME.zip", "lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-daemon-vDAEMONVER-OSNAME.zip",
"lbrynetDaemonDir": "static/daemon", "lbrynetDaemonDir": "static/daemon",
"lbrynetDaemonFileName": "lbrynet-daemon" "lbrynetDaemonFileName": "lbrynet-daemon"

View file

@ -110,12 +110,7 @@ export class SplashScreen extends React.PureComponent<Props, State> {
message: __('Blockchain Sync'), message: __('Blockchain Sync'),
details: __(format, status.wallet.blocks_behind), details: __(format, status.wallet.blocks_behind),
}); });
} else if ( } else if (status.wallet && status.wallet.blocks_behind === 0) {
status.blockchain_headers &&
status.blockchain_headers.download_progress === 100 &&
status.wallet &&
status.wallet.blocks_behind === 0
) {
this.setState({ this.setState({
message: 'Network Loading', message: 'Network Loading',
details: 'Initializing LBRY service...', details: 'Initializing LBRY service...',