bump sdk and comment out thumbnail gets on desktop
This commit is contained in:
parent
a6270226ef
commit
ad125b3d2a
4 changed files with 18 additions and 15 deletions
|
@ -206,7 +206,7 @@
|
|||
"yarn": "^1.3"
|
||||
},
|
||||
"lbrySettings": {
|
||||
"lbrynetDaemonVersion": "0.53.2",
|
||||
"lbrynetDaemonVersion": "0.53.3",
|
||||
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip",
|
||||
"lbrynetDaemonDir": "static/daemon",
|
||||
"lbrynetDaemonFileName": "lbrynet"
|
||||
|
|
|
@ -904,6 +904,6 @@
|
|||
"This Week": "This Week",
|
||||
"This Month": "This Month",
|
||||
"This Year": "This Year",
|
||||
"Thumbnail": "Thumbnail",
|
||||
"Khmer": "Khmer"
|
||||
}
|
||||
"Khmer": "Khmer",
|
||||
"Invites": "Invites"
|
||||
}
|
|
@ -29,15 +29,18 @@ export default function useGetThumbnail(
|
|||
}, [thumbnailToUse]);
|
||||
|
||||
// @if TARGET='app'
|
||||
React.useEffect(() => {
|
||||
if (hasClaim && isImage && isFree) {
|
||||
if (streamingUrl) {
|
||||
setThumbnail(streamingUrl);
|
||||
} else if (!shouldHide) {
|
||||
getFile(uri);
|
||||
}
|
||||
}
|
||||
}, [hasClaim, isFree, isImage, streamingUrl, uri, shouldHide]);
|
||||
//
|
||||
// Temporarily disabled until we can call get with "save_blobs: off"
|
||||
//
|
||||
// React.useEffect(() => {
|
||||
// if (hasClaim && isImage && isFree) {
|
||||
// if (streamingUrl) {
|
||||
// setThumbnail(streamingUrl);
|
||||
// } else if (!shouldHide) {
|
||||
// getFile(uri);
|
||||
// }
|
||||
// }
|
||||
// }, [hasClaim, isFree, isImage, streamingUrl, uri, shouldHide]);
|
||||
// @endif
|
||||
|
||||
return thumbnail;
|
||||
|
|
|
@ -7071,9 +7071,9 @@ lbry-redux@lbryio/lbry-redux#a93b09c6bd13870ceca912157dbe998bc7f48454:
|
|||
reselect "^3.0.0"
|
||||
uuid "^3.3.2"
|
||||
|
||||
lbryinc@lbryio/lbryinc#1912aa1834f83a5a43e028327d35bd64cfba528e:
|
||||
lbryinc@lbryio/lbryinc#1b19fdf56a6e7cdb59d3d796e619dc9b87d40af7:
|
||||
version "0.0.1"
|
||||
resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/1912aa1834f83a5a43e028327d35bd64cfba528e"
|
||||
resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/1b19fdf56a6e7cdb59d3d796e619dc9b87d40af7"
|
||||
dependencies:
|
||||
reselect "^3.0.0"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue