mirror of
https://github.com/mue/mue.git
synced 2026-06-12 19:48:57 +02:00
fix: weather
This commit is contained in:
@@ -70,7 +70,7 @@ export default class TimeSettings extends PureComponent {
|
||||
switch={true}
|
||||
/>
|
||||
<SettingsItem title="Widget Type">
|
||||
<Dropdown label="Type" name="weatherType">
|
||||
<Dropdown label="Type" name="weatherType" category="weather">
|
||||
<option value="1">Basic</option>
|
||||
<option value="2">Standard</option>
|
||||
<option value="3">Expanded</option>
|
||||
@@ -124,13 +124,6 @@ export default class TimeSettings extends PureComponent {
|
||||
</SettingsItem>
|
||||
{localStorage.getItem('weatherType') == 4 && (
|
||||
<SettingsItem title="Custom Settings">
|
||||
<Checkbox
|
||||
name="showlocation"
|
||||
text={variables.getMessage(
|
||||
'modals.main.settings.sections.weather.extra_info.show_location',
|
||||
)}
|
||||
category="weather"
|
||||
/>
|
||||
<Checkbox
|
||||
name="weatherdescription"
|
||||
text={variables.getMessage(
|
||||
@@ -179,21 +172,6 @@ export default class TimeSettings extends PureComponent {
|
||||
category="weather"
|
||||
disabled={this.state.windSpeed}
|
||||
/>
|
||||
<Checkbox
|
||||
name="mintemp"
|
||||
text={variables.getMessage(
|
||||
'modals.main.settings.sections.weather.extra_info.min_temp',
|
||||
)}
|
||||
category="weather"
|
||||
/>
|
||||
<Checkbox
|
||||
name="maxtemp"
|
||||
text={variables.getMessage(
|
||||
'modals.main.settings.sections.weather.extra_info.max_temp',
|
||||
)}
|
||||
category="weather"
|
||||
/>
|
||||
<Checkbox name="feelsliketemp" text={'Feels like temperature'} category="weather" />
|
||||
<Checkbox
|
||||
name="atmosphericpressure"
|
||||
text={variables.getMessage(
|
||||
@@ -201,7 +179,6 @@ export default class TimeSettings extends PureComponent {
|
||||
)}
|
||||
category="weather"
|
||||
/>
|
||||
<Checkbox name="upcomingForecast" text="Upcoming Forecast" category="weather" />
|
||||
</SettingsItem>
|
||||
)}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user