fix typo
This commit is contained in:
parent
468051b2a1
commit
dcb79685bc
1 changed files with 2 additions and 3 deletions
|
@ -12,7 +12,6 @@ import { makeSelectUnreadByChannel } from 'redux/selectors/subscriptions';
|
||||||
import {
|
import {
|
||||||
ACTIONS,
|
ACTIONS,
|
||||||
Lbry,
|
Lbry,
|
||||||
Lbryapi,
|
|
||||||
makeSelectFileInfoForUri,
|
makeSelectFileInfoForUri,
|
||||||
selectFileInfosByOutpoint,
|
selectFileInfosByOutpoint,
|
||||||
makeSelectChannelForClaimUri,
|
makeSelectChannelForClaimUri,
|
||||||
|
@ -22,7 +21,7 @@ import {
|
||||||
selectDownloadingByOutpoint,
|
selectDownloadingByOutpoint,
|
||||||
makeSelectClaimForUri,
|
makeSelectClaimForUri,
|
||||||
} from 'lbry-redux';
|
} from 'lbry-redux';
|
||||||
import { makeSelectCostInfoForUri } from 'lbryinc';
|
import { makeSelectCostInfoForUri, Lbryio } from 'lbryinc';
|
||||||
import { makeSelectClientSetting, selectosNotificationsEnabled, selectDaemonSettings } from 'redux/selectors/settings';
|
import { makeSelectClientSetting, selectosNotificationsEnabled, selectDaemonSettings } from 'redux/selectors/settings';
|
||||||
import { formatLbryUrlForWeb } from 'util/url';
|
import { formatLbryUrlForWeb } from 'util/url';
|
||||||
|
|
||||||
|
@ -202,7 +201,7 @@ export function doPlayUri(
|
||||||
attemptPlay(instantPurchaseMax.amount);
|
attemptPlay(instantPurchaseMax.amount);
|
||||||
} else {
|
} else {
|
||||||
// Need to convert currency of instant purchase maximum before trying to play
|
// Need to convert currency of instant purchase maximum before trying to play
|
||||||
Lbryapi.getExchangeRates().then(({ LBC_USD }) => {
|
Lbryio.getExchangeRates().then(({ LBC_USD }) => {
|
||||||
attemptPlay(instantPurchaseMax.amount / LBC_USD);
|
attemptPlay(instantPurchaseMax.amount / LBC_USD);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue