From 82570043165188ce1952703d71cd1b9bf5cf9fe6 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Sun, 17 Nov 2019 13:32:31 -0500 Subject: [PATCH] Update view.jsx --- ui/modal/modalRemoveFile/view.jsx | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/ui/modal/modalRemoveFile/view.jsx b/ui/modal/modalRemoveFile/view.jsx index 3b6c83245..2fc743bb4 100644 --- a/ui/modal/modalRemoveFile/view.jsx +++ b/ui/modal/modalRemoveFile/view.jsx @@ -26,17 +26,19 @@ function ModalRemoveFile(props: Props) {

- {__("Are you sure you'd like to remove")} {`"${title}"`} {__('from the LBRY app?')} + {__("Are you sure you'd like to remove")} {`"${title}"`} {__('from LBRY?')}

deleteFile(uri, deleteChecked, claimIsMine ? abandonChecked : false)}> - setDeleteChecked(!deleteChecked)} - /> + {!IS_WEB && ( + setDeleteChecked(!deleteChecked)} + /> + )} {claimIsMine && (
@@ -47,11 +49,13 @@ function ModalRemoveFile(props: Props) { checked={abandonChecked} onChange={() => setAbandonChecked(!abandonChecked)} /> - {abandonChecked === false && ( -

- This file is removed from your publishes area and you can't remove the deposit from the claim page - anymore -

+ {abandonChecked === true &&

This action is permanent and cannot be undone.

} + + {abandonChecked === false && deleteChecked && !IS_WEB && ( +

This file will be removed from your Library and Downloads folder.

+ )} + {!deleteChecked && !IS_WEB && ( +

This file removed from your Library but will remain in your Downloads folder.

)}
)}