Skip to content

Commit

Permalink
修复 情景重新加载后循环溢出
Browse files Browse the repository at this point in the history
  • Loading branch information
MakesYT committed May 5, 2024
1 parent 447128f commit be4529b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions Core.Linux/AppToolLinuxService.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
using System.Collections.Concurrent;
using Core.SDKs.Services;
using Pinyin.NET;
using PluginCore;

namespace Core.Linux;

public class AppToolLinuxService: IAppToolService
public class AppToolLinuxService : IAppToolService
{
public Task AppSolverA(ConcurrentDictionary<string, SearchViewItem> _collection, string search,
bool isSearch = false)
Expand All @@ -14,22 +15,24 @@ public Task AppSolverA(ConcurrentDictionary<string, SearchViewItem> _collection,

public void DelNullFile(ConcurrentDictionary<string, SearchViewItem> _collection)
{

}

public void GetAllApps(ConcurrentDictionary<string, SearchViewItem> _collection, bool logging,
bool useEverything = false)
{

}

public void AutoStartEverything(ConcurrentDictionary<string, SearchViewItem> _collection, Action action)
{

}

public Task GetIconByItemAsync(SearchViewItem item)
{
return Task.CompletedTask;
}

public PinyinItem GetPinyin(string input)
{
throw new NotImplementedException();
}
}
2 changes: 1 addition & 1 deletion Core/SDKs/Services/Config/ObjectJsonConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public override object Read(ref Utf8JsonReader reader, Type typeToConvert, JsonS
JsonTokenType.StartObject)
{
JsonSerializer.Deserialize<ExpandoObject>(ref reader, options);
return new object();
return null;
}

if (reader.TokenType == JsonTokenType.Number)
Expand Down

0 comments on commit be4529b

Please sign in to comment.