mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 23:36:20 +00:00
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:
1 parent
1a8bca5deb
commit
8a0fdc7610
5 files changed
+136
-17
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user