mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-20 02:32:05 +00:00
fixed navigation disappearing after restore
This commit is contained in:
parent
d0974a1da6
commit
bb1ba2f3bb
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,6 @@ void restoreBackup(Ref ref, Map<String, dynamic> backup, {bool full = true}) {
|
|||
isar.customButtons.putAllSync(customButtons);
|
||||
}
|
||||
_invalidateCommonState(ref);
|
||||
ref.read(routerCurrentLocationStateProvider.notifier).refresh();
|
||||
}
|
||||
});
|
||||
} catch (e) {
|
||||
|
|
@ -540,6 +539,7 @@ void _invalidateCommonState(Ref ref) {
|
|||
ref.invalidate(extensionsRepoStateProvider(ItemType.manga));
|
||||
ref.invalidate(extensionsRepoStateProvider(ItemType.anime));
|
||||
ref.invalidate(extensionsRepoStateProvider(ItemType.novel));
|
||||
ref.read(routerCurrentLocationStateProvider.notifier).refresh();
|
||||
}
|
||||
|
||||
Status _convertStatusFromTachiBk(int idx) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue