Selaa lähdekoodia

Fix visibility of util method

vishnukvmd 2 vuotta sitten
vanhempi
commit
5c305e25c4
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      lib/ui/viewer/file/zoomable_image.dart

+ 2 - 2
lib/ui/viewer/file/zoomable_image.dart

@@ -163,7 +163,7 @@ class _ZoomableImageState extends State<ZoomableImage>
       _loadingFinalImage = true;
       getFile(
         _photo,
-        isOrigin: isGIF(), // since playback only happens on origin files
+        isOrigin: _isGIF(), // since playback only happens on origin files
       ).then((file) {
         if (file != null && file.existsSync()) {
           _onFinalImageLoaded(Image.file(file).image);
@@ -216,5 +216,5 @@ class _ZoomableImageState extends State<ZoomableImage>
     }
   }
 
-  bool isGIF() => _photo.getDisplayName().toLowerCase().endsWith(".gif");
+  bool _isGIF() => _photo.getDisplayName().toLowerCase().endsWith(".gif");
 }