mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-31 17:31:27 +00:00
## Issue Fixes 4293 `Better download link support` - [x] make it so you can right click a download button > copy download URL Given that this could be useful in mobile/web as well, I used a button+modal instead of the right-click approach. - [ ] in share dialog, show download URL to copy for non-video content This is already implemented, albeit hidden in the "More..." expansion.
14 lines
407 B
JavaScript
14 lines
407 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doHideModal } from 'redux/actions/app';
|
|
import { makeSelectClaimForUri } from 'lbry-redux';
|
|
import ModalCopyLinks from './view';
|
|
|
|
const select = (state, props) => ({
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
|
});
|
|
|
|
const perform = dispatch => ({
|
|
closeModal: () => dispatch(doHideModal()),
|
|
});
|
|
|
|
export default connect(select, perform)(ModalCopyLinks);
|