Skip to content

Commit

Permalink
Merge pull request #96 from venera-app/dev
Browse files Browse the repository at this point in the history
v1.1.0-patch
  • Loading branch information
wgh136 authored Dec 12, 2024
2 parents d3c3748 + 092eb59 commit bed0f78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/pages/favorites/favorites_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,14 @@ class _FavoritesPageState extends State<FavoritesPage> {
);
}
if (!isNetwork) {
return _LocalFavoritesPage(folder: folder!, key: Key(folder!));
return _LocalFavoritesPage(folder: folder!, key: PageStorageKey(folder!));
} else {
var favoriteData = getFavoriteDataOrNull(folder!);
if (favoriteData == null) {
folder = null;
return buildBody();
} else {
return NetworkFavoritePage(favoriteData, key: Key(folder!));
return NetworkFavoritePage(favoriteData, key: PageStorageKey(folder!));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/reader/images.dart
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ ImageProvider _createImageProviderFromKey(
var reader = context.reader;
return ReaderImageProvider(
imageKey,
reader.type.comicSource!.key,
reader.type.comicSource?.key,
reader.cid,
reader.eid,
);
Expand Down

0 comments on commit bed0f78

Please sign in to comment.