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