add get app button
This commit is contained in:
parent
5f388c31ae
commit
b4b70fa82d
1 changed files with 13 additions and 3 deletions
|
@ -1,10 +1,12 @@
|
||||||
// @flow
|
// @flow
|
||||||
import { remote } from 'electron';
|
import { remote } from 'electron';
|
||||||
import React, { Suspense } from 'react';
|
import React, { Suspense, Fragment } from 'react';
|
||||||
import LoadingScreen from 'component/common/loading-screen';
|
import LoadingScreen from 'component/common/loading-screen';
|
||||||
import VideoViewer from 'component/viewers/videoViewer';
|
import VideoViewer from 'component/viewers/videoViewer';
|
||||||
import ImageViewer from 'component/viewers/imageViewer';
|
import ImageViewer from 'component/viewers/imageViewer';
|
||||||
import AppViewer from 'component/viewers/appViewer';
|
import AppViewer from 'component/viewers/appViewer';
|
||||||
|
import Button from 'component/button';
|
||||||
|
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
import Yrbl from 'component/yrbl';
|
import Yrbl from 'component/yrbl';
|
||||||
|
@ -160,8 +162,16 @@ class FileRender extends React.PureComponent<Props> {
|
||||||
<div className={'content__cover--disabled'}>
|
<div className={'content__cover--disabled'}>
|
||||||
<Yrbl
|
<Yrbl
|
||||||
className={'content__cover--disabled'}
|
className={'content__cover--disabled'}
|
||||||
title={'Not available on LBRY TV'}
|
title={'Not available on lbry.tv'}
|
||||||
subtitle={'You can view or download this file by installing the App'}
|
subtitle={
|
||||||
|
<Fragment>
|
||||||
|
<p>
|
||||||
|
{__('Good news, though! You can')}{' '}
|
||||||
|
<Button button="link" label={__('Download the desktop app')} href="https://lbry.com/get" />{' '}
|
||||||
|
{'and have access to all file types.'}
|
||||||
|
</p>
|
||||||
|
</Fragment>
|
||||||
|
}
|
||||||
uri={uri}
|
uri={uri}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue