Don't re-render the video player when fileinfo has changed
This commit is contained in:
parent
f70e90877b
commit
3981ca8381
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ export function doWatchVideo() {
|
||||||
if (cost > balance) {
|
if (cost > balance) {
|
||||||
dispatch(doOpenModal('notEnoughCredits'))
|
dispatch(doOpenModal('notEnoughCredits'))
|
||||||
}
|
}
|
||||||
else if (cost <= 0.01) {
|
else if (cost <= 0.01 || fileInfo.written_bytes > 0) {
|
||||||
dispatch(doLoadVideo())
|
dispatch(doLoadVideo())
|
||||||
} else {
|
} else {
|
||||||
dispatch(doOpenModal('affirmPurchase'))
|
dispatch(doOpenModal('affirmPurchase'))
|
||||||
|
|
Loading…
Reference in a new issue