Switch to plain fs based caching mechanism

This commit is contained in:
Matthias Rupp
2022-10-17 18:02:43 +02:00
parent d08475d5af
commit 6796462b13
6 changed files with 33 additions and 34 deletions

View File

@@ -2,12 +2,11 @@
import 'package:collection/collection.dart';
import 'package:flutter/foundation.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:immich_mobile/constants/hive_box.dart';
import 'package:immich_mobile/modules/home/services/asset_cache.service.dart';
import 'package:openapi/api.dart';
class AlbumCacheService extends JsonCache<List<AlbumResponseDto>> {
AlbumCacheService() : super(albumListCacheBox, albumListCachedAssets);
AlbumCacheService() : super("album_cache");
@override
void put(List<AlbumResponseDto> data) {