fix ui; update windows build

This commit is contained in:
wgh19
2024-05-23 11:56:49 +08:00
parent 9505b78ae4
commit 187e5f9a09
6 changed files with 94 additions and 10 deletions

View File

@@ -56,7 +56,7 @@ class _DownloadedPageState extends State<DownloadedPage> {
});
},
),
),
),
Expanded(
child: buildBody(),
),
@@ -77,8 +77,9 @@ class _DownloadedPageState extends State<DownloadedPage> {
child: GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () {
context.to(() => _DownloadedIllustViewPage(
DownloadManager().getImagePaths(illusts[index].illustId)));
App.rootNavigatorKey.currentContext?.to(() =>
_DownloadedIllustViewPage(DownloadManager()
.getImagePaths(illusts[index].illustId)));
},
child: Row(
children: [