Title for identifyable commands

This commit is contained in:
2023-07-29 15:38:50 +02:00
parent fd095df1bb
commit 604294fd2a
38 changed files with 122 additions and 110 deletions

View File

@@ -1,6 +1,6 @@
namespace FileTime.App.Core.UserCommand;
public class GoToHomeCommand : IIdentifiableUserCommand
public sealed class GoToHomeCommand : IIdentifiableUserCommand
{
public const string CommandName = "go_to_home";
public static GoToHomeCommand Instance { get; } = new();
@@ -10,4 +10,6 @@ public class GoToHomeCommand : IIdentifiableUserCommand
}
public string UserCommandID => CommandName;
public string Title => "Go home";
}