From a8ed14d425970d2761ef82251982636d8be2751c Mon Sep 17 00:00:00 2001 From: Albie Spriddell Date: Thu, 7 Nov 2024 19:08:38 +0000 Subject: [PATCH] allow retoggling on process error --- DragonFruit.OnionFruit/ViewModels/MainWindowViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DragonFruit.OnionFruit/ViewModels/MainWindowViewModel.cs b/DragonFruit.OnionFruit/ViewModels/MainWindowViewModel.cs index 29b61b5..5e13895 100644 --- a/DragonFruit.OnionFruit/ViewModels/MainWindowViewModel.cs +++ b/DragonFruit.OnionFruit/ViewModels/MainWindowViewModel.cs @@ -202,7 +202,7 @@ private async Task ToggleSession() TorSession.TorSessionState.Disconnecting => new ToolbarContent(false, false, Brushes.DarkOrange, "Tor Disconnecting"), - TorSession.TorSessionState.BlockedProcess => new ToolbarContent(false, false, Brushes.Black, "Tor process failed to start"), + TorSession.TorSessionState.BlockedProcess => new ToolbarContent(false, true, Brushes.Black, "Tor process failed to start"), TorSession.TorSessionState.BlockedProxy => new ToolbarContent(false, false, Brushes.Black, "Failed to change proxy settings"), TorSession.TorSessionState.KillSwitchTriggered => new ToolbarContent(true, true, Brushes.DeepPink, "Tor Process Killed (Killswitch enabled)"),