mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: img preview
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -91,6 +91,7 @@ extension BuildContextExt on BuildContext {
|
||||
required List<SourceModel> imgList,
|
||||
ValueChanged<int>? onDismissed,
|
||||
}) {
|
||||
bool isMemberPage = Get.currentRoute.startsWith('/member?');
|
||||
Navigator.of(this).push(
|
||||
HeroDialogRoute(
|
||||
builder: (context) => InteractiveviewerGallery(
|
||||
@@ -98,6 +99,7 @@ extension BuildContextExt on BuildContext {
|
||||
initIndex: initialPage ?? 0,
|
||||
onPageChanged: (int pageIndex) {},
|
||||
onDismissed: onDismissed,
|
||||
setStatusBar: !isMemberPage,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user