Linux context menu provider

This commit is contained in:
2022-02-01 14:20:10 +01:00
parent bcf0a32e0a
commit c4bf417ba3
2 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
using System.Collections.Generic;
using FileTime.Core.Models;
namespace FileTime.Avalonia.Services
{
public class LinuxContextMenuProvider : IContextMenuProvider
{
public List<object> GetContextMenuForFolder(IContainer container)
{
return new List<object>();
}
}
}

View File

@@ -29,7 +29,7 @@ namespace FileTime.Avalonia
} }
else else
{ {
throw new System.Exception("TODO: implement linux contextmenu provider"); serviceCollection.AddSingleton<IContextMenuProvider, LinuxContextMenuProvider>();
} }
return serviceCollection; return serviceCollection;