1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-20 03:59:36 +02:00

Reworked OtherSettings to work with global config state. Fixed bug with certain settings not being synchronized

This commit is contained in:
unknown 2021-06-13 23:21:35 +02:00
parent f137498e7e
commit 5e7cb72b82
11 changed files with 124 additions and 91 deletions

View file

@ -68,7 +68,7 @@ const WeatherWidget = (props: ComponentProps): JSX.Element => {
return (
<div className={classes.WeatherWidget}>
{isLoading || props.configLoading || searchConfig('WEATHER_API_KEY', '') &&
{(isLoading || props.configLoading || searchConfig('WEATHER_API_KEY', '')) &&
(weather.id > 0 &&
(<Fragment>
<div className={classes.WeatherIcon}>