Add status message support for new daemon restart features.
This commit is contained in:
parent
6a6de9074c
commit
123dd0541d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user