Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mobile][photos] dispose rive animation loader on widget dispose

Priyanshu Dangare592e619485ff
diff --git a/mobile/apps/photos/lib/ui/home/landing_page_widget.dart b/mobile/apps/photos/lib/ui/home/landing_page_widget.dart
index c0c5ef0dc4..e7de9b5de6 100644
--- a/mobile/apps/photos/lib/ui/home/landing_page_widget.dart
+++ b/mobile/apps/photos/lib/ui/home/landing_page_widget.dart
@@ -45,6 +45,12 @@ class _LandingPageWidgetState extends State<LandingPageWidget> {
Future(_showAutoLogoutDialogIfRequired);
}
+ @override
+ void dispose() {
+ _onboardingAnimationLoader.dispose();
+ super.dispose();
+ }
+
@override
Widget build(BuildContext context) {
final lightComponentTheme = ComponentTheme.lightTheme(