mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-03-11 17:25:32 +00:00
bugfix?
Share button had no baseUrl on extensions without a apiUrl (Example AniWorld, AnimeToast). tbh didn't even understand why there was a apiUrl check.
This commit is contained in:
parent
c17e80a080
commit
03741343be
1 changed files with 1 additions and 3 deletions
|
|
@ -519,9 +519,7 @@ class _MangaDetailViewState extends ConsumerState<MangaDetailView>
|
|||
final source = getSource(
|
||||
widget.manga!.lang!,
|
||||
widget.manga!.source!);
|
||||
String url = source!.apiUrl!.isEmpty
|
||||
? widget.manga!.link!
|
||||
: "${source.baseUrl}${widget.manga!.link!}";
|
||||
String url = "${source?.baseUrl}${widget.manga!.link!}";
|
||||
|
||||
Share.share(url);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue