mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
24 lines
518 B
C#
24 lines
518 B
C#
using System.Windows.Input;
|
|
using Avalonia.Controls;
|
|
using ReactiveUI;
|
|
using Remotely.Desktop.Linux.Services;
|
|
|
|
namespace Remotely.Desktop.Linux.ViewModels
|
|
{
|
|
public class HostNamePromptViewModel : ViewModelBase
|
|
{
|
|
public string host;
|
|
|
|
public string Host
|
|
{
|
|
get => host;
|
|
set => this.RaiseAndSetIfChanged(ref host, value);
|
|
}
|
|
|
|
public ICommand OKCommand => new Executor((param) =>
|
|
{
|
|
(param as Window).Close();
|
|
});
|
|
}
|
|
}
|