User history #1846

Merged
daovist merged 17 commits from user-history into master 2018-09-07 07:21:38 +02:00
2 changed files with 3 additions and 0 deletions
Showing only changes of commit 625a9177ee - Show all commits

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}
/>
)}