From 0202dc21fbc4a89dc5d4154eebd5fbb2b1b1a487 Mon Sep 17 00:00:00 2001 From: jessop Date: Wed, 11 Sep 2019 09:27:03 -0400 Subject: [PATCH] improves messaging over thumbs and drives tv paid content to app --- src/ui/component/fileViewerInitiator/view.jsx | 34 +++++++++++++++++++ src/ui/scss/component/_yrbl.scss | 5 +++ 2 files changed, 39 insertions(+) diff --git a/src/ui/component/fileViewerInitiator/view.jsx b/src/ui/component/fileViewerInitiator/view.jsx index 0ed381a9e..435534a65 100644 --- a/src/ui/component/fileViewerInitiator/view.jsx +++ b/src/ui/component/fileViewerInitiator/view.jsx @@ -86,6 +86,40 @@ export default function FileViewer(props: Props) { } }, [autoplay, viewFile, isStreamable, hasCostInfo, cost]); + // @if TARGET='web' + if (costInfo && costInfo.cost > 0) { + return ( +
+ {!supported && ( + +

{__(`We're not ready to keep track of your paid content on LBRY.TV yet.`)}

+

+ {__('Good news, though! You can')}{' '} +

+ ); + } + // @endif return (