render tiles before they load

This commit is contained in:
Jeremy Kauffman 2017-04-17 17:51:18 -04:00
parent e01c8268a7
commit b3d1439870
3 changed files with 6 additions and 2 deletions

2
lbry

@ -1 +1 @@
Subproject commit 27788829b0d46c102351d04f0b2197f6819dafb5
Subproject commit 043e2d0ab96030468d53d02e311fd848f35c2dc1

2
lbryum

@ -1 +1 @@
Subproject commit 39ace3737509ff2b09fabaaa64d1525843de1325
Subproject commit 121bda3963ee94f0c9c027813c55b71b38219739

View file

@ -257,6 +257,10 @@ export let FileTile = React.createClass({
},
render: function() {
if (!this.state.claimInfo) {
if (this.props.displayStyle == 'card') {
return <FileCardStream outpoint={null} metadata={{title: this.props.uri, description: "Loading..."}} contentType={null} hidePrice={true}
hasSignature={false} signatureIsValid={false} uri={this.props.uri} />
}
return null;
}