diff --git a/static/app-strings.json b/static/app-strings.json index b8b6816a0..a116cfebd 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -2046,5 +2046,7 @@ "The payment will be made from your saved card": "The payment will be made from your saved card", "A channel is required to comment on lbry.tv": "A channel is required to comment on lbry.tv", "Commenting...": "Commenting...", + "Reset": "Reset", + "Reset to original (previous) publish date": "Reset to original (previous) publish date", "--end--": "--end--" } diff --git a/ui/component/app/view.jsx b/ui/component/app/view.jsx index 9242622b2..3205a4572 100644 --- a/ui/component/app/view.jsx +++ b/ui/component/app/view.jsx @@ -35,14 +35,22 @@ import LANGUAGE_MIGRATIONS from 'constants/language-migrations'; const FileDrop = lazyImport(() => import('component/fileDrop' /* webpackChunkName: "secondary" */)); const ModalRouter = lazyImport(() => import('modal/modalRouter' /* webpackChunkName: "secondary" */)); const Nag = lazyImport(() => import('component/common/nag' /* webpackChunkName: "secondary" */)); -const NagContinueFirstRun = lazyImport(() => import('component/nagContinueFirstRun' /* webpackChunkName: "secondary" */)); +const NagContinueFirstRun = lazyImport(() => + import('component/nagContinueFirstRun' /* webpackChunkName: "secondary" */) +); const OpenInAppLink = lazyImport(() => import('web/component/openInAppLink' /* webpackChunkName: "secondary" */)); // @if TARGET='web' -const NagDataCollection = lazyImport(() => import('web/component/nag-data-collection' /* webpackChunkName: "secondary" */)); -const NagDegradedPerformance = lazyImport(() => import('web/component/nag-degraded-performance' /* webpackChunkName: "secondary" */)); +const NagDataCollection = lazyImport(() => + import('web/component/nag-data-collection' /* webpackChunkName: "secondary" */) +); +const NagDegradedPerformance = lazyImport(() => + import('web/component/nag-degraded-performance' /* webpackChunkName: "secondary" */) +); const NagNoUser = lazyImport(() => import('web/component/nag-no-user' /* webpackChunkName: "nag-no-user" */)); -const YoutubeWelcome = lazyImport(() => import('web/component/youtubeReferralWelcome' /* webpackChunkName: "secondary" */)); +const YoutubeWelcome = lazyImport(() => + import('web/component/youtubeReferralWelcome' /* webpackChunkName: "secondary" */) +); // @endif const SyncFatalError = lazyImport(() => import('component/syncFatalError' /* webpackChunkName: "syncFatalError" */)); @@ -169,6 +177,7 @@ function App(props: Props) { const shouldMigrateLanguage = LANGUAGE_MIGRATIONS[language]; const hasActiveChannelClaim = activeChannelClaim !== undefined; const isPersonalized = !IS_WEB || hasVerifiedEmail; + const renderFiledrop = !IS_WEB || isAuthenticated; let uri; try { @@ -425,7 +434,7 @@ function App(props: Props) { - + {renderFiledrop && }