- tweak: rework FileApi for services
- tweak: rework filter think - add: content view button - fix: little fixes in services
This commit is contained in:
@@ -146,7 +146,14 @@ public sealed partial class ContentBrowserViewModel : ViewModelBase , IViewModel
|
||||
|
||||
private void FillRoot(IEnumerable<ServerHubInfo> infos)
|
||||
{
|
||||
foreach (var info in infos) _root.Add(new ContentEntry(this, info.StatusData.Name, info.Address, info.Address, default!));
|
||||
foreach (var info in infos)
|
||||
_root.Add(new ContentEntry(this, info.StatusData.Name, info.Address, info.Address, default!));
|
||||
}
|
||||
|
||||
public void Go(string server, ContentPath path)
|
||||
{
|
||||
ServerText = server;
|
||||
Go(path);
|
||||
}
|
||||
|
||||
public async void Go(ContentPath path)
|
||||
@@ -384,6 +391,11 @@ public struct ContentPath
|
||||
{
|
||||
public List<string> Pathes { get; }
|
||||
|
||||
public ContentPath()
|
||||
{
|
||||
Pathes = [];
|
||||
}
|
||||
|
||||
public ContentPath(List<string> pathes)
|
||||
{
|
||||
Pathes = pathes;
|
||||
|
||||
Reference in New Issue
Block a user