mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-01-11 22:40:36 +00:00
refactor: improve code structure and enhance UI elements in the code editor and manga detail view
This commit is contained in:
parent
494e31e396
commit
0903b9d7e3
3 changed files with 750 additions and 310 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -661,8 +661,9 @@ class _MangaDetailViewState extends ConsumerState<MangaDetailView>
|
|||
widget.manga!.source!,
|
||||
widget.manga!.sourceId,
|
||||
);
|
||||
if (source == null) return;
|
||||
final url =
|
||||
"${source!.baseUrl}${widget.manga!.link!.getUrlWithoutDomain}";
|
||||
"${source.baseUrl}${widget.manga!.link!.getUrlWithoutDomain}";
|
||||
final box =
|
||||
context.findRenderObject() as RenderBox?;
|
||||
SharePlus.instance.share(
|
||||
|
|
@ -683,6 +684,7 @@ class _MangaDetailViewState extends ConsumerState<MangaDetailView>
|
|||
widget.manga!.source!,
|
||||
widget.manga!.sourceId,
|
||||
);
|
||||
if (source == null) return;
|
||||
context.push(
|
||||
'/extension_detail',
|
||||
extra: source,
|
||||
|
|
@ -1954,8 +1956,9 @@ class _MangaDetailViewState extends ConsumerState<MangaDetailView>
|
|||
widget.manga!.source!,
|
||||
widget.manga!.sourceId,
|
||||
);
|
||||
if (source == null) return;
|
||||
final url =
|
||||
"${source!.baseUrl}${widget.manga!.link!.getUrlWithoutDomain}";
|
||||
"${source.baseUrl}${widget.manga!.link!.getUrlWithoutDomain}";
|
||||
|
||||
Map<String, dynamic> data = {
|
||||
'url': url,
|
||||
|
|
|
|||
|
|
@ -140,12 +140,12 @@ SPEC CHECKSUMS:
|
|||
media_kit_video: fa6564e3799a0a28bff39442334817088b7ca758
|
||||
OrderedSet: e539b66b644ff081c73a262d24ad552a69be3a94
|
||||
package_info_plus: f0052d280d17aa382b932f399edf32507174e870
|
||||
path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
|
||||
path_provider_foundation: bb55f6dbba17d0dccd6737fe6f7f34fbd0376880
|
||||
rust_lib_mangayomi: 4cbf39f5d158ad8eb0f17fd8e52d88514d435cd8
|
||||
screen_brightness_macos: 2a3ee243f8051c340381e8e51bcedced8360f421
|
||||
screen_retriever_macos: 452e51764a9e1cdb74b3c541238795849f21557f
|
||||
share_plus: 510bf0af1a42cd602274b4629920c9649c52f4cc
|
||||
url_launcher_macos: 0fba8ddabfc33ce0a9afe7c5fef5aab3d8d2d673
|
||||
url_launcher_macos: f87a979182d112f911de6820aefddaf56ee9fbfd
|
||||
volume_controller: 5c068e6d085c80dadd33fc2c918d2114b775b3dd
|
||||
wakelock_plus: 917609be14d812ddd9e9528876538b2263aaa03b
|
||||
window_manager: b729e31d38fb04905235df9ea896128991cad99e
|
||||
|
|
|
|||
Loading…
Reference in a new issue