All checks were successful
ci/woodpecker/tag/release Pipeline was successful
Enable downloading entire series for offline reading. Includes database tables and migration for downloaded series/chapters, download orchestration with progress tracking, per-chapter EPUB and image stream downloading, a Downloaded section in the library, and offline-first reader support. Key changes: - DB migration v11 with downloaded_series and downloaded_chapters tables - Series download service with pagination, cancellation, and progress stream - Feed screen download button with status indicators and completion feedback - Library screen Downloaded section with series cards and detail screen - Reader pre-caching using local files (including two-page spread mode) - Next-in-series navigation resolves from downloaded chapters when offline - Skip image downloads and progress sync when device is offline - Settings screen shows download storage usage with clear option Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
118 lines
4 KiB
Dart
118 lines
4 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'connectivity_provider.dart';
|
|
|
|
// **************************************************************************
|
|
// RiverpodGenerator
|
|
// **************************************************************************
|
|
|
|
String _$connectivityServiceHash() =>
|
|
r'2514faa3d7f3227d473e300af7d0188339855ef3';
|
|
|
|
/// Provider for ConnectivityService singleton
|
|
///
|
|
/// Copied from [connectivityService].
|
|
@ProviderFor(connectivityService)
|
|
final connectivityServiceProvider =
|
|
AutoDisposeProvider<ConnectivityService>.internal(
|
|
connectivityService,
|
|
name: r'connectivityServiceProvider',
|
|
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
|
|
? null
|
|
: _$connectivityServiceHash,
|
|
dependencies: null,
|
|
allTransitiveDependencies: null,
|
|
);
|
|
|
|
@Deprecated('Will be removed in 3.0. Use Ref instead')
|
|
// ignore: unused_element
|
|
typedef ConnectivityServiceRef = AutoDisposeProviderRef<ConnectivityService>;
|
|
String _$connectivityStatusHash() =>
|
|
r'61a85b2a1d29254778bc6d9939b0f890986a778b';
|
|
|
|
/// Stream provider for connectivity status
|
|
///
|
|
/// Emits true when online, false when offline.
|
|
/// Automatically updates all watching widgets when connectivity changes.
|
|
///
|
|
/// Copied from [connectivityStatus].
|
|
@ProviderFor(connectivityStatus)
|
|
final connectivityStatusProvider = AutoDisposeStreamProvider<bool>.internal(
|
|
connectivityStatus,
|
|
name: r'connectivityStatusProvider',
|
|
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
|
|
? null
|
|
: _$connectivityStatusHash,
|
|
dependencies: null,
|
|
allTransitiveDependencies: null,
|
|
);
|
|
|
|
@Deprecated('Will be removed in 3.0. Use Ref instead')
|
|
// ignore: unused_element
|
|
typedef ConnectivityStatusRef = AutoDisposeStreamProviderRef<bool>;
|
|
String _$epubDownloadServiceHash() =>
|
|
r'de7efa6bfecbc87177e8d517a143ce77f07d8195';
|
|
|
|
/// Provider for EpubDownloadService singleton
|
|
///
|
|
/// Copied from [epubDownloadService].
|
|
@ProviderFor(epubDownloadService)
|
|
final epubDownloadServiceProvider =
|
|
AutoDisposeProvider<EpubDownloadService>.internal(
|
|
epubDownloadService,
|
|
name: r'epubDownloadServiceProvider',
|
|
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
|
|
? null
|
|
: _$epubDownloadServiceHash,
|
|
dependencies: null,
|
|
allTransitiveDependencies: null,
|
|
);
|
|
|
|
@Deprecated('Will be removed in 3.0. Use Ref instead')
|
|
// ignore: unused_element
|
|
typedef EpubDownloadServiceRef = AutoDisposeProviderRef<EpubDownloadService>;
|
|
String _$offlineContentCheckerHash() =>
|
|
r'4abe811293e38b4ffcae0288debcbc30e256934a';
|
|
|
|
/// Provider for OfflineContentChecker singleton
|
|
///
|
|
/// Copied from [offlineContentChecker].
|
|
@ProviderFor(offlineContentChecker)
|
|
final offlineContentCheckerProvider =
|
|
AutoDisposeProvider<OfflineContentChecker>.internal(
|
|
offlineContentChecker,
|
|
name: r'offlineContentCheckerProvider',
|
|
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
|
|
? null
|
|
: _$offlineContentCheckerHash,
|
|
dependencies: null,
|
|
allTransitiveDependencies: null,
|
|
);
|
|
|
|
@Deprecated('Will be removed in 3.0. Use Ref instead')
|
|
// ignore: unused_element
|
|
typedef OfflineContentCheckerRef
|
|
= AutoDisposeProviderRef<OfflineContentChecker>;
|
|
String _$connectivityStateHash() => r'8622fa7fd3185aa1c6bf74b61fbad5d5f3b50e8a';
|
|
|
|
/// Provider for current connectivity state
|
|
///
|
|
/// This provider caches the current connectivity status and updates
|
|
/// automatically when the status changes.
|
|
///
|
|
/// Copied from [ConnectivityState].
|
|
@ProviderFor(ConnectivityState)
|
|
final connectivityStateProvider =
|
|
AutoDisposeAsyncNotifierProvider<ConnectivityState, bool>.internal(
|
|
ConnectivityState.new,
|
|
name: r'connectivityStateProvider',
|
|
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
|
|
? null
|
|
: _$connectivityStateHash,
|
|
dependencies: null,
|
|
allTransitiveDependencies: null,
|
|
);
|
|
|
|
typedef _$ConnectivityState = AutoDisposeAsyncNotifier<bool>;
|
|
// ignore_for_file: type=lint
|
|
// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package
|