mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: refine reply/publish page
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -75,11 +75,13 @@ extension BuildContextExt on BuildContext {
|
||||
int? initialPage,
|
||||
required List<String> imgList,
|
||||
ValueChanged<int>? onDismissed,
|
||||
bool? isFile,
|
||||
}) {
|
||||
Navigator.of(this).push(
|
||||
HeroDialogRoute(
|
||||
builder: (context) => InteractiveviewerGallery(
|
||||
sources: imgList,
|
||||
isFile: isFile,
|
||||
initIndex: initialPage ?? 0,
|
||||
onPageChanged: (int pageIndex) {},
|
||||
onDismissed: onDismissed,
|
||||
|
||||
Reference in New Issue
Block a user