fix settings bug and update changelog

This commit is contained in:
Jeremy Kauffman 2017-10-27 17:14:42 -04:00
parent 86ead993e0
commit 8f1e2ea72b
2 changed files with 5 additions and 5 deletions

View file

@ -8,16 +8,16 @@ Web UI version numbers should always match the corresponding version of LBRY App
## [Unreleased] ## [Unreleased]
### Added ### Added
* * Added new window menu options for reloading and help.
* *
### Changed ### Changed
* *
* Replaced all instances of `XMLHttpRequest` with native `Fetch` API.
* *
### Fixed ### Fixed
* * Fixed console errors on settings page related to improper React input properties.
*
### Deprecated ### Deprecated
* *

View file

@ -237,7 +237,7 @@ class SettingsPage extends React.PureComponent {
<FormRow <FormRow
type="radio" type="radio"
name="instant_purchase_max" name="instant_purchase_max"
checked={!instantPurchaseEnabled} defaultChecked={!instantPurchaseEnabled}
label={__("Ask for confirmation of all purchases")} label={__("Ask for confirmation of all purchases")}
onClick={e => { onClick={e => {
this.onInstantPurchaseEnabledChange(false); this.onInstantPurchaseEnabledChange(false);
@ -247,7 +247,7 @@ class SettingsPage extends React.PureComponent {
<FormField <FormField
type="radio" type="radio"
name="instant_purchase_max" name="instant_purchase_max"
checked={instantPurchaseEnabled} defaultChecked={instantPurchaseEnabled}
label={ label={
"Single-click purchasing of content less than" + "Single-click purchasing of content less than" +
(instantPurchaseEnabled ? "" : "...") (instantPurchaseEnabled ? "" : "...")