From b3d14398701564d17d8966efbf9e3c58fed40f9f Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Mon, 17 Apr 2017 17:51:18 -0400 Subject: [PATCH] render tiles before they load --- lbry | 2 +- lbryum | 2 +- ui/js/component/file-tile.js | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lbry b/lbry index 27788829b..043e2d0ab 160000 --- a/lbry +++ b/lbry @@ -1 +1 @@ -Subproject commit 27788829b0d46c102351d04f0b2197f6819dafb5 +Subproject commit 043e2d0ab96030468d53d02e311fd848f35c2dc1 diff --git a/lbryum b/lbryum index 39ace3737..121bda396 160000 --- a/lbryum +++ b/lbryum @@ -1 +1 @@ -Subproject commit 39ace3737509ff2b09fabaaa64d1525843de1325 +Subproject commit 121bda3963ee94f0c9c027813c55b71b38219739 diff --git a/ui/js/component/file-tile.js b/ui/js/component/file-tile.js index 2abaa5d21..a7327272e 100644 --- a/ui/js/component/file-tile.js +++ b/ui/js/component/file-tile.js @@ -257,6 +257,10 @@ export let FileTile = React.createClass({ }, render: function() { if (!this.state.claimInfo) { + if (this.props.displayStyle == 'card') { + return + } return null; }