show icon cache size

This commit is contained in:
Fabian Freund
2024-06-16 20:40:42 +02:00
parent 42a9db63f7
commit f50391d1da
6 changed files with 80 additions and 14 deletions
@@ -75,3 +75,9 @@ Stream<int> bangCountOfGroup(
final repository = ref.watch(bangDataRepositoryProvider.notifier);
return repository.watchBangCount(group);
}
@Riverpod()
Stream<double> bangIconCacheSizeMegabytes(BangIconCacheSizeMegabytesRef ref) {
final repository = ref.watch(bangDataRepositoryProvider.notifier);
return repository.watchIconCacheSize();
}