Remotely/Desktop.Linux/Services/SessionIndicatorLinux.cs

22 lines
518 B
C#

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