Skip to content

Commit 2b94d31

Browse files
* bumper flutter_local_notifications version * bug fix * JaffaKetchup#41 fixed * Update CHANGELOG.md Co-authored-by: Luka S <58115698+JaffaKetchup@users.noreply.github.com>
1 parent e23a34a commit 2b94d31

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [3.0.4] - 2022/02/10
4+
5+
* Fix bug #41 (on Github)
6+
* Bumped 'flutter_local_notifications' version to v9.2.0
7+
38
## [3.0.3] - 2021/09/12
49

510
* Fix bug #32 (on Github)

lib/src/main.dart

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ class StorageCachingTileProvider extends TileProvider {
182182
AndroidNotificationDetails(
183183
'MapDownloading',
184184
'Map Background Downloader',
185-
'Displays progress notifications to inform the user about the progress of their map download.',
185+
channelDescription:
186+
'Displays progress notifications to inform the user about the progress of their map download.',
186187
importance: Importance.defaultImportance,
187188
priority: Priority.low,
188189
showWhen: false,
@@ -295,10 +296,12 @@ class StorageCachingTileProvider extends TileProvider {
295296
}
296297

297298
outlineTileNums[zoomLvl]![tile.x.toInt()] = [
298-
tile.y.toInt() < (outlineTileNums[zoomLvl]![tile.x.toInt()]![0].toInt())
299+
tile.y.toInt() <
300+
(outlineTileNums[zoomLvl]![tile.x.toInt()]![0].toInt())
299301
? BigInt.from(tile.y.toInt())
300302
: (outlineTileNums[zoomLvl]![tile.x.toInt()]![0]),
301-
tile.y.toInt() > (outlineTileNums[zoomLvl]![tile.x.toInt()]![1].toInt())
303+
tile.y.toInt() >
304+
(outlineTileNums[zoomLvl]![tile.x.toInt()]![1].toInt())
302305
? BigInt.from(tile.y.toInt())
303306
: (outlineTileNums[zoomLvl]![tile.x.toInt()]![1]),
304307
];

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: flutter_map_tile_caching
22
description: Plugin for flutter_map to provide an easy way to cache tiles and
33
download map regions for offline use.
4-
version: 3.0.3
4+
version: 3.0.4
55
repository: https://github.com/JaffaKetchup/flutter_map_tile_caching
66
documentation: https://github.com/JaffaKetchup/flutter_map_tile_caching/blob/main/README.md
77
issue_tracker: https://github.com/JaffaKetchup/flutter_map_tile_caching/issues
@@ -14,7 +14,7 @@ dependencies:
1414
flutter:
1515
sdk: flutter
1616
background_fetch: ^1.0.0
17-
flutter_local_notifications: ^9.1.5
17+
flutter_local_notifications: ^9.2.0
1818
flutter_map: ^0.13.1
1919
http: ^0.13.3
2020
latlong2: ^0.8.0

0 commit comments

Comments
 (0)