Skip to content

Commit 298f8dc

Browse files
committed
Removed completed TODOs
1 parent d009ba7 commit 298f8dc

File tree

5 files changed

+2
-13
lines changed

5 files changed

+2
-13
lines changed

lib/src/bulk_download/internal/manager.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,6 @@ Future<void> _downloadManager(
182182
region: input.region,
183183
endTile: math.min(input.region.end ?? largestInt, maxTiles),
184184
);
185-
// TODO: Remove once validated
186-
// send(2);
187185
}
188186

189187
// Create convienience method to update recovery system if enabled

lib/src/providers/image_provider/image_provider.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ part of '../../../flutter_map_tile_caching.dart';
55

66
/// A specialised [ImageProvider] that uses FMTC internals to enable browse
77
/// caching
8-
///
9-
/// TODO: Improve hits and misses
108
class _FMTCImageProvider extends ImageProvider<_FMTCImageProvider> {
119
/// Create a specialised [ImageProvider] that uses FMTC internals to enable
1210
/// browse caching

lib/src/providers/image_provider/internal_get_bytes.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Future<Uint8List> _internalGetBytes({
99
required FMTCTileProvider provider,
1010
required StreamController<ImageChunkEvent>? chunkEvents,
1111
required bool requireValidImage,
12-
required TileLoadingDebugInfo? currentTLDI, // TODO
12+
required TileLoadingDebugInfo? currentTLDI,
1313
}) async {
1414
void registerHit(List<String> storeNames) {
1515
currentTLDI?.hitOrMiss = true;

lib/src/store/download.dart

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,6 @@ class StoreDownload {
240240
// Handle shutdown (both normal and cancellation)
241241
if (evt == null) break;
242242

243-
// Handle recovery system startup (unless disabled)
244-
// TODO: Remove once validated
245-
/*if (evt == 2) {
246-
FMTCRoot.recovery._downloadsOngoing.add(recoveryId!);
247-
continue;
248-
}*/
249-
250243
// Setup control mechanisms (senders)
251244
if (evt is SendPort) {
252245
instance

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies:
3030
async: ^2.11.0
3131
collection: ^1.18.0
3232
dart_earcut: ^1.1.0
33-
flat_buffers: ^23.5.26
33+
#flat_buffers: ^23.5.26
3434
flutter:
3535
sdk: flutter
3636
flutter_map: ^7.0.0

0 commit comments

Comments
 (0)