From da15eec31162c96e11d54332f9b4f874a2ee1a42 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 25 Feb 2020 21:11:47 -0500 Subject: [PATCH] enable share_usage_data setting for signed in users if it isn't checked --- static/app-strings.json | 3 ++- ui/page/settings/view.jsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index 351ebdf94..3a51f9cb7 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -987,5 +987,6 @@ "FINAL WARNING: This action is permanent and cannot be undone.": "FINAL WARNING: This action is permanent and cannot be undone.", "Allow the app to access third party analytics platforms": "Allow the app to access third party analytics platforms", "Share usage data with LBRY inc.": "Share usage data with LBRY inc.", - "Required": "Required" + "Required": "Required", + "Email %help_link% or join our %chat_link% if you encounter any trouble verifying.": "Email %help_link% or join our %chat_link% if you encounter any trouble verifying." } \ No newline at end of file diff --git a/ui/page/settings/view.jsx b/ui/page/settings/view.jsx index 23af930ac..c5fb7a1e0 100644 --- a/ui/page/settings/view.jsx +++ b/ui/page/settings/view.jsx @@ -471,7 +471,7 @@ class SettingsPage extends React.PureComponent { ? __('Internal sharing is required while signed in.') : __('Internal sharing is required to participate in rewards programs.') } - disabled={isAuthenticated} + disabled={isAuthenticated && daemonSettings.share_usage_data} />