From 93676d91a7c734cf6b2ace496142e69ccb037775 Mon Sep 17 00:00:00 2001
From: Moli <13026959681@163.com>
Date: 星期六, 02 五月 2026 16:41:54 +0800
Subject: [PATCH] T10, T11
---
src/Moli.Desktop/Runtime/DesktopRuntimeCoordinator.cs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/Moli.Desktop/Runtime/DesktopRuntimeCoordinator.cs b/src/Moli.Desktop/Runtime/DesktopRuntimeCoordinator.cs
index 8f9d094..fc537cd 100644
--- a/src/Moli.Desktop/Runtime/DesktopRuntimeCoordinator.cs
+++ b/src/Moli.Desktop/Runtime/DesktopRuntimeCoordinator.cs
@@ -55,6 +55,11 @@
await _layout.SaveAsync(cancellationToken).ConfigureAwait(false);
_pluginSnapshot = await _plugins.ScanAsync(cancellationToken).ConfigureAwait(false);
+ foreach (var layout in _layout.GetAll().Where(layout => layout.IsVisible))
+ {
+ await _surfaces.ApplyWidgetLayoutAsync(layout, cancellationToken).ConfigureAwait(false);
+ }
+
_diagnostics.Record(DiagnosticSeverity.Info, DiagnosticCodes.ApplicationStarted, "Desktop runtime started.");
var state = BuildState();
await PublishStatusAsync(state, cancellationToken).ConfigureAwait(false);
--
Gitblit v1.9.1