add back stuff I shouldn't have deleted

This commit is contained in:
Sean Yesmunt 2018-08-29 23:35:49 -04:00
parent fab8e47801
commit 625a9177ee
2 changed files with 3 additions and 0 deletions

View file

@ -13,6 +13,7 @@ import {
makeSelectDownloadingForUri,
selectSearchBarFocused,
} from 'lbry-redux';
import { doClaimEligiblePurchaseRewards } from 'redux/actions/rewards';
import { makeSelectClientSetting, selectShowNsfw } from 'redux/selectors/settings';
import { selectPlayingUri, makeSelectContentPositionForUri } from 'redux/selectors/content';
import { selectFileInfoErrors } from 'redux/selectors/file_info';
@ -39,6 +40,7 @@ const perform = dispatch => ({
play: uri => dispatch(doPlayUri(uri)),
cancelPlay: () => dispatch(doSetPlayingUri(null)),
changeVolume: volume => dispatch(doChangeVolume(volume)),
claimRewards: () => dispatch(doClaimEligiblePurchaseRewards()),
savePosition: (claimId, outpoint, position) =>
dispatch(savePosition(claimId, outpoint, position)),
});

View file

@ -249,6 +249,7 @@ class FileViewer extends React.PureComponent<Props> {
claim={claim}
uri={uri}
position={position}
startedPlayingCb={this.startedPlayingCb}
playingUri={playingUri}
/>
)}