mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
opt: const page (#1736)
This commit is contained in:
committed by
GitHub
parent
9310732343
commit
8f3c9f029c
@@ -528,7 +528,7 @@ class _DownloadPanelState extends State<DownloadPanel> {
|
||||
_buildBottomBtn(
|
||||
text: '查看缓存',
|
||||
onTap: () => Navigator.of(context).push(
|
||||
GetPageRoute(page: DownloadPage.new),
|
||||
GetPageRoute(page: () => const DownloadPage()),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user