fix(preview): 接入已合并 SDK 与 Android 0.1.3 预览验证 (#12)
Gitea CI / Build Windows x64 app (push) Successful in 2m38s
Gitea CI / Check code and tests (push) Successful in 5m19s
Gitea CI / Build Android APK (push) Successful in 3m13s
Gitea CI / Audit and package Windows x64 (push) Successful in 2m49s
Gitea CI / Assemble and validate CI artifacts (push) Successful in 59s
Gitea CI / Gitea CI passed (push) Successful in 2s

This commit was merged in pull request #12.
This commit is contained in:
lingjhf committed 2026-10-07 18:30:29 +00:00
1 parent b4cb12cbe3
commit aa5255d1e4
11 files changed
+1577 -30

No files matched your search

+2 -4
View File
@@ -183,11 +183,9 @@ class _EditorPreviewContent extends ConsumerWidget {
final watched = pending
? const AsyncData<PreviewController?>(null)
: ref.watch(provider);
final registry = ref.watch(previewControllerRegistryProvider);
final cached = watched.isLoading && !watched.hasError
? ref.read(previewControllerRegistryProvider).cached((
projectId,
timelineId,
))
? registry.cached((projectId, timelineId))
: null;
final state = cached == null
? watched