From 8a104ad8d09459990d0068eceb41bf50bace4dd3 Mon Sep 17 00:00:00 2001 From: SuperDooper <37051355+superdooper86@users.noreply.github.com> Date: Mon, 11 May 2026 22:23:16 +0200 Subject: [PATCH] Login: reload background browser immediately after sign-in (no 3s delay) --- windows/PopupWindow.xaml.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/windows/PopupWindow.xaml.cs b/windows/PopupWindow.xaml.cs index 5e00bd3..87009a0 100644 --- a/windows/PopupWindow.xaml.cs +++ b/windows/PopupWindow.xaml.cs @@ -708,7 +708,9 @@ public partial class PopupWindow : Window _ = Task.Run(async () => { - await Task.Delay(3000); + // Re-navigate background browser with fresh session, then refresh immediately + await Application.Current.Dispatcher.InvokeAsync( + () => App.BackgroundBrowser.ReloadAsync()).Task.Unwrap(); await VM.RefreshAsync(); await Application.Current.Dispatcher.InvokeAsync(InitSettings); });