From a77b32084b84be5019052bd68cbe1c6d9740548c Mon Sep 17 00:00:00 2001 From: Shawn Date: Sun, 1 Jan 2023 13:32:26 -0700 Subject: [PATCH] Remove clouds from details view --- lib/ui/screens/editorial/widgets/_top_illustration.dart | 4 ---- lib/ui/wonder_illustrations/common/animated_clouds.dart | 1 - 2 files changed, 5 deletions(-) diff --git a/lib/ui/screens/editorial/widgets/_top_illustration.dart b/lib/ui/screens/editorial/widgets/_top_illustration.dart index 08ad0da3..2f59a197 100644 --- a/lib/ui/screens/editorial/widgets/_top_illustration.dart +++ b/lib/ui/screens/editorial/widgets/_top_illustration.dart @@ -9,10 +9,6 @@ class _TopIllustration extends StatelessWidget { return Stack( children: [ WonderIllustration(type, config: WonderIllustrationConfig.bg(enableAnims: false, shortMode: true)), - Positioned.fill( - bottom: 50, - child: AnimatedClouds(wonderType: type, enableAnimations: false, opacity: .5, cloudSize: 400), - ), Transform.translate( // Small bump down to make sure we cover the edge between the editorial page and the sky. offset: Offset(0, 10), diff --git a/lib/ui/wonder_illustrations/common/animated_clouds.dart b/lib/ui/wonder_illustrations/common/animated_clouds.dart index 2c4b3897..ff9c02bf 100644 --- a/lib/ui/wonder_illustrations/common/animated_clouds.dart +++ b/lib/ui/wonder_illustrations/common/animated_clouds.dart @@ -116,7 +116,6 @@ class _AnimatedCloudsState extends State with SingleTickerProvid List<_Cloud> _getClouds() { Size size = ContextUtils.getSize(context) ?? Size(context.widthPx, 400); - rndSeed = _getCloudSeed(widget.wonderType); return List<_Cloud>.generate(3, (index) { return _Cloud(