Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix rive animation jank

laurenspriem2996ed08b552
diff --git a/mobile/apps/photos/assets/ente_rewind_banner.riv b/mobile/apps/photos/assets/ente_rewind_banner.riv
index c650fcbd4c..22ce6ef370 100644
Binary files a/mobile/apps/photos/assets/ente_rewind_banner.riv and b/mobile/apps/photos/assets/ente_rewind_banner.riv differ
diff --git a/mobile/apps/photos/lib/ui/tools/similar_images_page.dart b/mobile/apps/photos/lib/ui/tools/similar_images_page.dart
index b4dc1c9123..ed0f7298ee 100644
--- a/mobile/apps/photos/lib/ui/tools/similar_images_page.dart
+++ b/mobile/apps/photos/lib/ui/tools/similar_images_page.dart
@@ -1315,7 +1315,7 @@ class _LoadingScreenState extends State<_LoadingScreen> {
super.initState();
_analysisAnimationLoader = rive.FileLoader.fromAsset(
'assets/ducky_analyze_files.riv',
- riveFactory: rive.Factory.rive,
+ riveFactory: rive.Factory.flutter,
);
_startTextCycling();
}
diff --git a/mobile/apps/photos/lib/ui/wrapped/wrapped_rewind_banner_button.dart b/mobile/apps/photos/lib/ui/wrapped/wrapped_rewind_banner_button.dart
index 55e71fc92e..d3a6c9b059 100644
--- a/mobile/apps/photos/lib/ui/wrapped/wrapped_rewind_banner_button.dart
+++ b/mobile/apps/photos/lib/ui/wrapped/wrapped_rewind_banner_button.dart
@@ -31,7 +31,7 @@ class _WrappedRewindBannerButtonState extends State<WrappedRewindBannerButton> {
super.initState();
_riveFileLoader = rive.FileLoader.fromAsset(
"assets/ente_rewind_banner.riv",
- riveFactory: rive.Factory.rive,
+ riveFactory: rive.Factory.flutter,
);
}