diff --git a/ui/component/claimPreview/view.jsx b/ui/component/claimPreview/view.jsx index 3b981abc8..c5ef42fad 100644 --- a/ui/component/claimPreview/view.jsx +++ b/ui/component/claimPreview/view.jsx @@ -266,25 +266,27 @@ const ClaimPreview = forwardRef((props: Props, ref: any) => { -
- {!pending && ( - - {hideActions ? null : actions !== undefined ? ( - actions - ) : ( -
- {isChannel && !channelIsBlocked && !claimIsMine && ( - - )} - {!hideBlock && isChannel && !isSubscribed && !claimIsMine && ( - - )} -
- )} -
- )} - {properties !== undefined ? properties : } -
+ {type !== 'small' && ( +
+ {!pending && ( + + {hideActions ? null : actions !== undefined ? ( + actions + ) : ( +
+ {isChannel && !channelIsBlocked && !claimIsMine && ( + + )} + {!hideBlock && isChannel && !isSubscribed && !claimIsMine && ( + + )} +
+ )} +
+ )} + {properties !== undefined ? properties : } +
+ )} diff --git a/ui/modal/modalPublish/view.jsx b/ui/modal/modalPublish/view.jsx index 6cac36e95..39d804445 100644 --- a/ui/modal/modalPublish/view.jsx +++ b/ui/modal/modalPublish/view.jsx @@ -3,6 +3,7 @@ import React from 'react'; import { Modal } from 'modal/modal'; import ClaimPreview from 'component/claimPreview'; import Button from 'component/button'; +import Card from 'component/common/card'; type Props = { closeModal: () => void, @@ -19,41 +20,50 @@ class ModalPublishSuccess extends React.PureComponent { const contentLabel = isEdit ? 'Update published' : 'File published'; const publishMessage = isEdit ? 'update is now' : 'file is now'; + function handleClose() { + clearPublish(); + closeModal(); + } + return ( - { - clearPublish(); - navigate('/$/published'); - closeModal(); - }} - confirmButtonLabel={__('View My Publishes')} - abortButtonLabel={__('Close')} - onAborted={() => { - clearPublish(); - closeModal(); - }} - > -

- {__(`Your %publishMessage% pending on LBRY. It will take a few minutes to appear for other users.`, { + + -

- -
-

- {filePath && !IS_WEB && ( + body={ - {__( - `Upload will continue in the background, please do not shut down immediately. Leaving the app running helps the network, thank you!` - )}{' '} -