avoid onpress do some edge case because of cached at video
This commit is contained in:
parent
edd4fb699a
commit
42507b6921
|
@ -177,11 +177,11 @@ const Video = React.memo(
|
|||
showAttachment(videoCached);
|
||||
return;
|
||||
}
|
||||
if (!loading) {
|
||||
if (!loading && !cached) {
|
||||
handleDownload();
|
||||
return;
|
||||
}
|
||||
if (loading) {
|
||||
if (loading && !cached) {
|
||||
handleCancelDownload();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue