Skip to content

Commit

Permalink
fixed #23
Browse files Browse the repository at this point in the history
not sure what happened before
  • Loading branch information
HenryQuan committed Sep 8, 2021
1 parent c9a7526 commit 109e809
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions animeone/lib/ui/page/anime.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ class _AnimeState extends State<Anime> {
this.canLoadMore = false;
});

String? rLink = this.fullLink == ''
? widget.link
: this.fullLink ?? '' + '/page/${this.page}';
String? rLink = widget.link;
if (fullLink != null && fullLink != '') {
rLink = fullLink! + '/page/${this.page}';
}

this.parser = new AnimePageParser(rLink);
this.parser.downloadHTML().then((d) {
if (d == null) {
Expand Down

0 comments on commit 109e809

Please sign in to comment.