File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
SimpleWeather.Windows/Main Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ public ElementTheme ControlTheme
8080
8181 private bool UpdateBindings = false ;
8282 private bool UpdateTheme = false ;
83- private bool ClearGraphIconCache = false ;
8483
8584 public WeatherNow ( )
8685 {
@@ -169,7 +168,6 @@ private void Settings_OnSettingsChanged(SettingsChangedEventArgs e)
169168 if ( e . Key == SettingsManager . KEY_ICONSSOURCE )
170169 {
171170 // When page is loaded again from cache, clear icon cache
172- ClearGraphIconCache = true ;
173171 UpdateBindings = true ;
174172 }
175173 else if ( e . Key == SettingsManager . KEY_USERTHEME )
@@ -420,12 +418,6 @@ protected override void OnNavigatedTo(NavigationEventArgs e)
420418 UpdateTheme = false ;
421419 }
422420
423- if ( ClearGraphIconCache )
424- {
425- WeatherBox ? . UpdateWeatherIcon ( ) ;
426- ClearGraphIconCache = false ;
427- }
428-
429421 if ( UpdateBindings )
430422 {
431423 this . Bindings . Update ( ) ;
You can’t perform that action at this time.
0 commit comments