From 619ab3d1de7b6c2826718818caeb4348c52dd3db Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Mon, 2 Mar 2020 09:42:43 -0500 Subject: [PATCH] once startup has failed, stop animations and strip UI --- static/app-strings.json | 2 +- ui/component/splash/view.jsx | 40 +++++++++++++++++++--------------- ui/scss/component/_splash.scss | 6 ----- 3 files changed, 23 insertions(+), 25 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index d42b553e4..586c57bff 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1027,4 +1027,4 @@ "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (720p) for more reliable streaming.": "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (720p) for more reliable streaming.", "Your video has a bitrate over 6 mbps. We suggest transcoding to provide viewers the best experience.": "Your video has a bitrate over 6 mbps. We suggest transcoding to provide viewers the best experience.", "Your video has a bitrate over 5 mbps. We suggest transcoding to provide viewers the best experience.": "Your video has a bitrate over 5 mbps. We suggest transcoding to provide viewers the best experience." -} \ No newline at end of file +} diff --git a/ui/component/splash/view.jsx b/ui/component/splash/view.jsx index b52a76277..df8fbdd6d 100644 --- a/ui/component/splash/view.jsx +++ b/ui/component/splash/view.jsx @@ -225,7 +225,7 @@ export default class SplashScreen extends React.PureComponent {

LBRY

{details}
- {!animationHidden && ( + {!animationHidden && !error && ( {` --color: @p(var(--color-primary), var(--color-secondary), var(--color-focus), var(--color-nothing)); @@ -262,30 +262,34 @@ export default class SplashScreen extends React.PureComponent { `} )} -