Explorar o código

Fix visibility of util method

vishnukvmd %!s(int64=2) %!d(string=hai) anos
pai
achega
5c305e25c4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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");
 }