Skip to content

Commit 179ce8d

Browse files
authored
Merge pull request #345 from Baseflow/bugfix/disable-resizing-of-gifs
Disable resizing of gifs
2 parents f591b53 + f94d3e5 commit 179ce8d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

flutter_cache_manager/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [3.1.3] - 2021-11-05
2+
* Disabled resizing of cached gifs as this was broken.
3+
14
## [3.1.2] - 2021-06-17
25
* removeFile function now completes after the file is removed from disk and not earlier ([#323](https://github.
36
com/Baseflow/flutter_cache_manager/pull/323))

flutter_cache_manager/lib/src/cache_managers/image_cache_manager.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import 'package:file/file.dart';
66
import 'package:flutter/widgets.dart';
77
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
88

9-
const supportedFileNames = ['jpg', 'jpeg', 'png', 'tga', 'gif', 'cur', 'ico'];
9+
const supportedFileNames = ['jpg', 'jpeg', 'png', 'tga', 'cur', 'ico'];
1010
mixin ImageCacheManager on BaseCacheManager {
1111
/// Returns a resized image file to fit within maxHeight and maxWidth. It
1212
/// tries to keep the aspect ratio. It stores the resized image by adding

flutter_cache_manager/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_cache_manager
22
description: Generic cache manager for flutter. Saves web files on the storages of the device and saves the cache info using sqflite.
3-
version: 3.1.2
3+
version: 3.1.3
44
homepage: https://github.com/Baseflow/flutter_cache_manager
55

66
environment:

0 commit comments

Comments
 (0)