Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add missing mount check

Neeraj Gupta5b70127347a2
diff --git a/mobile/apps/photos/lib/ui/viewer/location/update_location_data_widget.dart b/mobile/apps/photos/lib/ui/viewer/location/update_location_data_widget.dart
index ef3396782d..fd6ae4bdf0 100644
--- a/mobile/apps/photos/lib/ui/viewer/location/update_location_data_widget.dart
+++ b/mobile/apps/photos/lib/ui/viewer/location/update_location_data_widget.dart
@@ -241,6 +241,9 @@ class _UpdateLocationInfoState extends State<UpdateLocationInfo> {
initState() {
super.initState();
Future.delayed(const Duration(seconds: 3), () {
+ if (!mounted) {
+ return;
+ }
setState(() {
showSelectLocationText = true;
});