BUG: Wifi configuration
This commit is contained in:
@@ -194,6 +194,9 @@ const WifiConfigDialog = withStyles(styles, { withTheme: true })(
|
||||
|
||||
wifiConfigSettings.enable = this.state.enabled;
|
||||
wifiConfigSettings.hotspotName = this.state.name;
|
||||
wifiConfigSettings.countryCode = this.state.countryCode;
|
||||
wifiConfigSettings.channel = this.state.channel;
|
||||
|
||||
if (this.state.newPassword.length === 0 || !this.state.enabled)
|
||||
{
|
||||
wifiConfigSettings.hasPassword = false;
|
||||
|
||||
@@ -33,7 +33,7 @@ export default class WifiConfigSettings {
|
||||
return this;
|
||||
}
|
||||
clone() : WifiConfigSettings {
|
||||
return this.deserialize(this);
|
||||
return new WifiConfigSettings().deserialize(this);
|
||||
}
|
||||
valid: boolean = true;
|
||||
wifiWarningGiven: boolean = false;
|
||||
|
||||
Reference in New Issue
Block a user