Login: reload background browser immediately after sign-in (no 3s delay)

This commit is contained in:
SuperDooper
2026-05-11 22:23:16 +02:00
parent 59c911dff4
commit 8a104ad8d0
+3 -1
View File
@@ -708,7 +708,9 @@ public partial class PopupWindow : Window
_ = Task.Run(async () => _ = 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 VM.RefreshAsync();
await Application.Current.Dispatcher.InvokeAsync(InitSettings); await Application.Current.Dispatcher.InvokeAsync(InitSettings);
}); });