Add status message support for new daemon restart features.

This commit is contained in:
Captain ALM 2021-03-19 10:11:39 +00:00
parent 6a6de9074c
commit 123dd0541d

View File

@ -240,6 +240,14 @@ public partial class MainWindow : Window
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);
else UpdateIcon(MelonIconImg);