mod: 依赖升级

This commit is contained in:
guozhigq
2023-12-02 21:33:46 +08:00
parent ebb1d78dbb
commit 00f84e1a1c
8 changed files with 63 additions and 39 deletions

View File

@ -131,7 +131,6 @@ class _HistorySearchPageState extends State<HistorySearchPage> {
onChoose: null,
onUpdateMultiple: () => null,
);
;
}
},
)

View File

@ -113,8 +113,8 @@ class _MainAppState extends State<MainApp> with SingleTickerProviderStateMixin {
MediaQuery.of(context).size.width * 9 / 16;
localCache.put('sheetHeight', sheetHeight);
localCache.put('statusBarHeight', statusBarHeight);
return WillPopScope(
onWillPop: () => _mainController.onBackPressed(context),
return PopScope(
onPopInvoked: (bool status) => _mainController.onBackPressed(context),
child: Scaffold(
extendBody: true,
body: FadeTransition(

View File

@ -159,7 +159,6 @@ class _ImagePreviewState extends State<ImagePreview>
_previewController.onChange(index),
canScrollPage: (GestureDetails? gestureDetails) =>
gestureDetails!.totalScale! <= 1.0,
preloadPagesCount: 2,
itemCount: widget.imgList!.length,
itemBuilder: (BuildContext context, int index) {
return ExtendedImage.network(