Linux context menu provider
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,7 @@ namespace FileTime.Avalonia
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new System.Exception("TODO: implement linux contextmenu provider");
|
||||
serviceCollection.AddSingleton<IContextMenuProvider, LinuxContextMenuProvider>();
|
||||
}
|
||||
|
||||
return serviceCollection;
|
||||
|
||||
Reference in New Issue
Block a user