mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Clear Viewers list in view model on disconnect/reconnect.
This commit is contained in:
parent
51080c4344
commit
3b5aec55ac
@ -188,6 +188,7 @@ namespace Remotely.Desktop.Win.ViewModels
|
||||
{
|
||||
await App.Current.Dispatcher.InvokeAsync(() =>
|
||||
{
|
||||
Viewers.Clear();
|
||||
SessionID = "Disconnected";
|
||||
});
|
||||
};
|
||||
@ -196,6 +197,7 @@ namespace Remotely.Desktop.Win.ViewModels
|
||||
{
|
||||
await App.Current.Dispatcher.InvokeAsync(() =>
|
||||
{
|
||||
Viewers.Clear();
|
||||
SessionID = "Reconnecting";
|
||||
});
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user