diff --git a/static/img/dark_loading.gif b/static/img/dark_loading.gif new file mode 100644 index 000000000..edb99a6eb Binary files /dev/null and b/static/img/dark_loading.gif differ diff --git a/static/img/white_loading.gif b/static/img/white_loading.gif new file mode 100644 index 000000000..b65b4c25a Binary files /dev/null and b/static/img/white_loading.gif differ diff --git a/ui/component/claimPreview/index.js b/ui/component/claimPreview/index.js index b63696f69..15b48cc7e 100644 --- a/ui/component/claimPreview/index.js +++ b/ui/component/claimPreview/index.js @@ -26,6 +26,7 @@ import { selectShowMatureContent } from 'redux/selectors/settings'; import { makeSelectHasVisitedUri } from 'redux/selectors/content'; import { makeSelectIsSubscribed } from 'redux/selectors/subscriptions'; import { selectModerationBlockList } from 'redux/selectors/comments'; +import { doFileGet } from 'redux/actions/file'; import ClaimPreview from './view'; import formatMediaDuration from 'util/formatMediaDuration'; diff --git a/ui/component/claimPreviewTile/view.jsx b/ui/component/claimPreviewTile/view.jsx index 1c921f64e..1c1bd1116 100644 --- a/ui/component/claimPreviewTile/view.jsx +++ b/ui/component/claimPreviewTile/view.jsx @@ -187,7 +187,7 @@ function ClaimPreviewTile(props: Props) {
@@ -247,7 +247,7 @@ function ClaimPreviewTile(props: Props) {{releaseTime}
+{progressText}
+ {isCancel && ( +{__('Do you cancel download this file?')}
+