enable share_usage_data setting for signed in users if it isn't checked
This commit is contained in:
parent
b06dbfae60
commit
da15eec311
2 changed files with 3 additions and 2 deletions
|
@ -987,5 +987,6 @@
|
||||||
"FINAL WARNING: This action is permanent and cannot be undone.": "FINAL WARNING: This action is permanent and cannot be undone.",
|
"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",
|
"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.",
|
"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."
|
||||||
}
|
}
|
|
@ -471,7 +471,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
? __('Internal sharing is required while signed in.')
|
? __('Internal sharing is required while signed in.')
|
||||||
: __('Internal sharing is required to participate in rewards programs.')
|
: __('Internal sharing is required to participate in rewards programs.')
|
||||||
}
|
}
|
||||||
disabled={isAuthenticated}
|
disabled={isAuthenticated && daemonSettings.share_usage_data}
|
||||||
/>
|
/>
|
||||||
<FormField
|
<FormField
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
|
|
Loading…
Add table
Reference in a new issue