Remotely/Desktop.XPlat/Services/SessionIndicatorLinux.cs
2021-07-29 07:58:06 -07:00

20 lines
476 B
C#

using Avalonia.Controls;
using Avalonia.Threading;
using Remotely.Desktop.Core.Interfaces;
using Remotely.Desktop.XPlat.Views;
namespace Remotely.Desktop.XPlat.Services
{
public class SessionIndicatorLinux : ISessionIndicator
{
public void Show()
{
Dispatcher.UIThread.Post(() =>
{
var indicatorWindow = new SessionIndicatorWindow();
indicatorWindow.Show();
});
}
}
}