share weekKey extension and log splash precache failures

This commit is contained in:
2026-07-12 23:56:47 +02:00
parent f50359b4eb
commit 53bc6d5360
5 changed files with 15 additions and 10 deletions
+5 -1
View File
@@ -19,7 +19,11 @@ class PostLoginSplash extends StatefulWidget {
try {
_darkComposition ??= await AssetLottie(_darkAsset).load();
_lightComposition ??= await AssetLottie(_lightAsset).load();
} catch (_) {}
} catch (e) {
// Precache is a best-effort warm-up; the splash falls back to loading the
// composition on demand. Log so a broken asset is at least diagnosable.
debugPrint('PostLoginSplash.precache failed: $e');
}
}
final VoidCallback onComplete;