mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-03 01:00:14 +08:00
@@ -413,25 +413,6 @@ abstract final class PageUtils {
|
||||
}
|
||||
}
|
||||
|
||||
static void onHorizontalPreviewState(
|
||||
ScaffoldState state,
|
||||
List<SourceModel> imgList,
|
||||
int index,
|
||||
) {
|
||||
state.showBottomSheet(
|
||||
constraints: const BoxConstraints(),
|
||||
(context) => GalleryViewer(
|
||||
sources: imgList,
|
||||
initIndex: index,
|
||||
quality: GlobalData().imgQuality,
|
||||
),
|
||||
enableDrag: false,
|
||||
elevation: 0.0,
|
||||
backgroundColor: Colors.transparent,
|
||||
sheetAnimationStyle: AnimationStyle.noAnimation,
|
||||
);
|
||||
}
|
||||
|
||||
static void inAppWebview(
|
||||
String url, {
|
||||
bool off = false,
|
||||
|
||||
Reference in New Issue
Block a user