fix(android): wire exact preview startup and device benchmarks
Gitea CI / Check code and tests (pull_request) Successful in 11m6s
Gitea CI / Build Android APK (pull_request) Successful in 5m15s
Gitea CI / Build Windows x64 app (pull_request) Successful in 2m41s
Gitea CI / Audit and package Windows x64 (pull_request) Successful in 1m2s
Gitea CI / Assemble and validate CI artifacts (pull_request) Successful in 51s
Gitea CI / Gitea CI passed (pull_request) Successful in 2s
Gitea CI / Check code and tests (pull_request) Successful in 11m6s
Gitea CI / Build Android APK (pull_request) Successful in 5m15s
Gitea CI / Build Windows x64 app (pull_request) Successful in 2m41s
Gitea CI / Audit and package Windows x64 (pull_request) Successful in 1m2s
Gitea CI / Assemble and validate CI artifacts (pull_request) Successful in 51s
Gitea CI / Gitea CI passed (pull_request) Successful in 2s
This commit is contained in:
1 parent
b4cb12cbe3
commit
64a3a5b547
11 files changed
+1577
-30
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user