From 09f5390a235dc4e27b0eba53d51798c2bb1ea8df Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Mon, 14 Feb 2022 07:47:26 +0200 Subject: [PATCH] Weather: Increased refresh delay at first startup (given more time for dark mode cookie to set itself up) --- ep_weather_host/ep_weather_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ep_weather_host/ep_weather_host.c b/ep_weather_host/ep_weather_host.c index 1b32926..33c621e 100644 --- a/ep_weather_host/ep_weather_host.c +++ b/ep_weather_host/ep_weather_host.c @@ -359,7 +359,7 @@ HRESULT STDMETHODCALLTYPE ICoreWebView2_ExecuteScriptCompleted(ICoreWebView2Exec { printf("consent granted\n"); PostMessageW(EPWeather_Instance->hWnd, EP_WEATHER_WM_FETCH_DATA, 0, 0); - SetTimer(EPWeather_Instance->hWnd, EP_WEATHER_TIMER_REQUEST_REFRESH, EP_WEATHER_TIMER_REQUEST_REFRESH_DELAY * 3, NULL); + SetTimer(EPWeather_Instance->hWnd, EP_WEATHER_TIMER_REQUEST_REFRESH, EP_WEATHER_TIMER_REQUEST_REFRESH_DELAY * 5, NULL); return S_OK; } else