add basic copy for delay in abandon appearing

This commit is contained in:
Sean Yesmunt 2020-07-22 21:33:12 -04:00
parent 0f51cf8986
commit 588b9c5e32

View file

@ -64,7 +64,7 @@ function ModalRemoveFile(props: Props) {
)} )}
{!deleteChecked && ( {!deleteChecked && (
<p className="help"> <p className="help">
{__('This file will be removed from your Library but will remain in your Downloads folder.')} {__('This file will be removed from your Library but will remain in your Downloads folder.')}
</p> </p>
)} )}
{/* @endif */} {/* @endif */}
@ -73,14 +73,17 @@ function ModalRemoveFile(props: Props) {
</React.Fragment> </React.Fragment>
} }
actions={ actions={
<div className="card__actions"> <>
<Button <div className="section__actions">
button="primary" <Button
label={__('OK')} button="primary"
onClick={() => deleteFile(uri, deleteChecked, claimIsMine ? abandonChecked : false)} label={__('OK')}
/> onClick={() => deleteFile(uri, deleteChecked, claimIsMine ? abandonChecked : false)}
<Button button="link" label={__('Cancel')} onClick={closeModal} /> />
</div> <Button button="link" label={__('Cancel')} onClick={closeModal} />
</div>
<p className="help">{__('These changes will appear shortly.')}</p>
</>
} }
/> />
</Modal> </Modal>