fix(app): type icon cache refreshes on reload and reaches the tree view

loadTypeIcons logs failures, only notifies on change and bumps iconsVersion;
every generation bump reloads it. The tree re-resolves label icons when
iconsVersion changes, without re-running the layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-26 06:55:22 +01:00
1 parent 1a8bca5deb
commit 8a0fdc7610
5 files changed
+136 -17

No files matched your search

+2
View File
@@ -443,6 +443,8 @@ class _GraphViewState extends State<GraphView> {
onTap: _open,
name: AppScope.read(context).backend.graphName,
typeIcon: AppScope.read(context).typeIcon,
// Subscribes: icon edits (or icons loaded after a cold start) reach the labels.
iconsVersion: AppScope.of(context).iconsVersion,
);
}
final sub = _sub;