Browse Source

Removed unneccesary setState

ashilkn 2 years ago
parent
commit
fdb8ffa66b
1 changed files with 0 additions and 4 deletions
  1. 0 4
      lib/ui/viewer/file/file_details_widget.dart

+ 0 - 4
lib/ui/viewer/file/file_details_widget.dart

@@ -259,10 +259,6 @@ class _FileDetailsWidgetState extends State<FileDetailsWidget> {
         pubMagicKeyLat: locationDataFromExif!.latitude,
         pubMagicKeyLong: locationDataFromExif.longitude
       });
-
-      if (mounted) {
-        setState(() {});
-      }
       return true;
     }
     return false;