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

@ -239,6 +239,14 @@ public partial class MainWindow : Window
case ClientResponseState.Offline: case ClientResponseState.Offline:
statusLabel.Text = "Offline"; statusLabel.Text = "Offline";
ConnectedToVPN = false; ConnectedToVPN = false;
break;
case ClientResponseState.Starting:
statusLabel.Text = "Starting";
ConnectedToVPN = false;
break;
case ClientResponseState.Restarting:
statusLabel.Text = "Restarting";
ConnectedToVPN = true;
break; break;
} }
if (ConnectedToVPN) UpdateIcon(MelonOnlineImg); if (ConnectedToVPN) UpdateIcon(MelonOnlineImg);