提交 860025ee 编写于 作者: R RMBGAME

🔨 Image2 高并发异步加载优化

上级 f962538d
Subproject commit 28a8cda77f3e649020ed7ab7a068b1e395fca3bc Subproject commit e3527552162b91038d538d9ec6446d0be5524fbe
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<!--ProjectReference Include="..\Avalonia.Themes.Default\Avalonia.Themes.Default.csproj" /> <!--ProjectReference Include="..\Avalonia.Themes.Default\Avalonia.Themes.Default.csproj" />
<ProjectReference Include="..\Avalonia.Themes.Fluent\Avalonia.Themes.Fluent.csproj" />--> <ProjectReference Include="..\Avalonia.Themes.Fluent\Avalonia.Themes.Fluent.csproj" />-->
<ProjectReference Include="..\Avalonia.Desktop\Avalonia.Desktop.csproj" /> <ProjectReference Include="..\Avalonia.Desktop\Avalonia.Desktop.csproj" />
<ProjectReference Include="..\..\ref\Avalonia.Image2\AvaloniaGif\AvaloniaGif.csproj" /> <ProjectReference Include="..\..\ref\Avalonia.Image2\Avalonia.Gif\Avalonia.Gif.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'"> <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">
......
#if (WINDOWS || MACCATALYST || MACOS || LINUX) && !(IOS || ANDROID) #if (WINDOWS || MACCATALYST || MACOS || LINUX) && !(IOS || ANDROID)
using ASFStrings = ArchiSteamFarm.Localization.Strings;
using AppResources = BD.WTTS.Client.Resources.Strings; using AppResources = BD.WTTS.Client.Resources.Strings;
using ASFNLogManager = ArchiSteamFarm.LogManager; using ASFNLogManager = ArchiSteamFarm.LogManager;
...@@ -164,11 +165,11 @@ public partial class ArchiSteamFarmServiceImpl : ReactiveObject, IArchiSteamFarm ...@@ -164,11 +165,11 @@ public partial class ArchiSteamFarmServiceImpl : ReactiveObject, IArchiSteamFarm
if (targetBot == null) if (targetBot == null)
{ {
ASF.ArchiLogger.LogGenericWarning(Strings.ErrorNoBotsDefined); ASF.ArchiLogger.LogGenericWarning(ASFStrings.ErrorNoBotsDefined);
return null; return null;
} }
ASF.ArchiLogger.LogGenericInfo(Strings.Executing); ASF.ArchiLogger.LogGenericInfo(ASFStrings.Executing);
ulong steamOwnerID = ASF.GlobalConfig?.SteamOwnerID ?? GlobalConfig.DefaultSteamOwnerID; ulong steamOwnerID = ASF.GlobalConfig?.SteamOwnerID ?? GlobalConfig.DefaultSteamOwnerID;
......
...@@ -74,6 +74,7 @@ public sealed class ToastService : ReactiveObject ...@@ -74,6 +74,7 @@ public sealed class ToastService : ReactiveObject
CloseBtn_Click(); CloseBtn_Click();
} }
[Obsolete("不再使用常驻通知")]
public void Set(string message) public void Set(string message)
{ {
MainThread2.BeginInvokeOnMainThread(() => Message = message); MainThread2.BeginInvokeOnMainThread(() => Message = message);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册