From 17ca93ab3048b425a45f07d2836848595871215d Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 19 Nov 2019 16:26:36 -0500 Subject: [PATCH] use ifdef comments for file-delete text --- ui/modal/modalRemoveFile/view.jsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/ui/modal/modalRemoveFile/view.jsx b/ui/modal/modalRemoveFile/view.jsx index 2fc743bb4..9d4399e31 100644 --- a/ui/modal/modalRemoveFile/view.jsx +++ b/ui/modal/modalRemoveFile/view.jsx @@ -30,15 +30,15 @@ function ModalRemoveFile(props: Props) {

deleteFile(uri, deleteChecked, claimIsMine ? abandonChecked : false)}> - {!IS_WEB && ( - setDeleteChecked(!deleteChecked)} - /> - )} + {/* @if TARGET='app' */} + setDeleteChecked(!deleteChecked)} + /> + {/* @endif */} {claimIsMine && (
@@ -51,12 +51,12 @@ function ModalRemoveFile(props: Props) { /> {abandonChecked === true &&

This action is permanent and cannot be undone.

} - {abandonChecked === false && deleteChecked && !IS_WEB && ( + {/* @if TARGET='app' */} + {abandonChecked === false && deleteChecked && (

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.

- )} + {!deleteChecked &&

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

} + {/* @endif */}
)}