share weekKey extension and log splash precache failures
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user