This commit is contained in:
2026-01-01 17:41:48 +08:00
parent be0d444db9
commit a8330fa2e9
@@ -709,15 +709,13 @@ namespace Ink_Canvas
BlackBoardWaterMark.Visibility = Visibility.Collapsed;
}
try
_ = UpdateChickenSoupTextAsync().ContinueWith(t =>
{
_ = UpdateChickenSoupTextAsync();
}
catch (Exception ex)
if (t.IsFaulted)
{
try
{
LogHelper.WriteLogToFile($"进入白板模式时更新名言失败: {ex.Message}", LogHelper.LogType.Warning);
LogHelper.WriteLogToFile($"进入白板模式时更新名言失败: {t.Exception?.GetBaseException().Message}", LogHelper.LogType.Warning);
}
catch
{
@@ -752,6 +750,7 @@ namespace Ink_Canvas
BlackBoardWaterMark.Text = "一言功能不可用";
}
}
}, TaskScheduler.FromCurrentSynchronizationContext());
if (Settings.Canvas.UsingWhiteboard)
{