From 123dd0541d176b480c51e291548265145b6b67bd Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Fri, 19 Mar 2021 10:11:39 +0000 Subject: [PATCH] Add status message support for new daemon restart features. --- MelonVPNClient/MainWindow.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/MelonVPNClient/MainWindow.cs b/MelonVPNClient/MainWindow.cs index 47995f9..89adad6 100644 --- a/MelonVPNClient/MainWindow.cs +++ b/MelonVPNClient/MainWindow.cs @@ -239,6 +239,14 @@ public partial class MainWindow : Window case ClientResponseState.Offline: statusLabel.Text = "Offline"; ConnectedToVPN = false; + break; + case ClientResponseState.Starting: + statusLabel.Text = "Starting"; + ConnectedToVPN = false; + break; + case ClientResponseState.Restarting: + statusLabel.Text = "Restarting"; + ConnectedToVPN = true; break; } if (ConnectedToVPN) UpdateIcon(MelonOnlineImg);