From 8c9dcb3ef993504792180a0bcca653e550983433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=85=B1=E5=A4=A9=E5=B0=8F=E7=A6=BD=E5=85=BD?= Date: Fri, 11 Oct 2024 19:43:57 +0800 Subject: [PATCH] .jpg --- lib/src/utils/file_util.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/utils/file_util.dart b/lib/src/utils/file_util.dart index e5b14186..53fa0deb 100644 --- a/lib/src/utils/file_util.dart +++ b/lib/src/utils/file_util.dart @@ -8,7 +8,7 @@ class FileUtil { static final RegExp _archivePathPattern = RegExp(r'Archive - \d+ - .*'); static bool isImageExtension(String path) { - return path.endsWith('.jpg') || path.endsWith('.png') || path.endsWith('.gif') || path.endsWith('.jpeg'); + return path.endsWith('.jpg') || path.endsWith('.JPG') || path.endsWith('.png') || path.endsWith('.gif') || path.endsWith('.jpeg'); } static bool isJHenTaiGalleryDirectory(Directory directory) { diff --git a/pubspec.yaml b/pubspec.yaml index 915d38d6..f26fb659 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: jhentai description: A flutter app for E-Hentai/EXHentai publish_to: 'none' -version: 8.0.3+260 +version: 8.0.3+261 environment: sdk: '>=3.0.0 <4.0.0'