fix
This commit is contained in:
parent
87ba9d1291
commit
ff2bf3317d
3 changed files with 6 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ import 'package:mangayomi/modules/more/about/providers/check_for_update.dart';
|
|||
import 'package:mangayomi/modules/more/backup_and_restore/providers/auto_backup.dart';
|
||||
import 'package:mangayomi/providers/l10n_providers.dart';
|
||||
import 'package:mangayomi/router/router.dart';
|
||||
import 'package:mangayomi/services/fetch_novel_sources.dart';
|
||||
import 'package:mangayomi/services/fetch_sources_list.dart';
|
||||
import 'package:mangayomi/utils/extensions/build_context_extensions.dart';
|
||||
import 'package:mangayomi/modules/library/providers/library_state_provider.dart';
|
||||
|
|
@ -50,6 +51,7 @@ class MainScreen extends ConsumerWidget {
|
|||
ref.watch(checkForUpdateProvider(context: context));
|
||||
ref.watch(fetchMangaSourcesListProvider(id: null, reFresh: false));
|
||||
ref.watch(fetchAnimeSourcesListProvider(id: null, reFresh: false));
|
||||
ref.watch(fetchNovelSourcesListProvider(id: null, reFresh: false));
|
||||
return ref.watch(migrationProvider).when(data: (_) {
|
||||
return Consumer(builder: (context, ref, chuld) {
|
||||
final location = ref.watch(
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@ Future<dynamic> updateMangaDetail(Ref ref,
|
|||
final newChap = chaps[i];
|
||||
oldChap.name = newChap.name;
|
||||
oldChap.url = newChap.url;
|
||||
oldChap.dateUpload = newChap.dateUpload;
|
||||
oldChap.scanlator = newChap.scanlator;
|
||||
isar.chapters.putSync(oldChap);
|
||||
oldChap.manga.saveSync();
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ Future<void> fetchSourcesList(
|
|||
..version = source.version
|
||||
..versionLast = source.version
|
||||
..itemType = itemType
|
||||
..isManga = source.isManga
|
||||
..isFullData = source.isFullData ?? false
|
||||
..appMinVerReq = source.appMinVerReq
|
||||
..sourceCodeLanguage = source.sourceCodeLanguage
|
||||
|
|
@ -99,6 +100,7 @@ Future<void> fetchSourcesList(
|
|||
..version = source.version
|
||||
..versionLast = source.version
|
||||
..itemType = itemType
|
||||
..isManga = source.isManga
|
||||
..isFullData = source.isFullData ?? false
|
||||
..appMinVerReq = source.appMinVerReq
|
||||
..sourceCodeLanguage = source.sourceCodeLanguage
|
||||
|
|
@ -129,6 +131,7 @@ Future<void> fetchSourcesList(
|
|||
..version = source.version
|
||||
..versionLast = source.version
|
||||
..itemType = itemType
|
||||
..isManga = source.isManga
|
||||
..sourceCodeLanguage = source.sourceCodeLanguage
|
||||
..isFullData = source.isFullData ?? false
|
||||
..appMinVerReq = source.appMinVerReq
|
||||
|
|
|
|||
Loading…
Reference in a new issue