add shortcuts

This commit is contained in:
wgh19
2024-06-12 19:17:32 +08:00
parent 70da478044
commit 7c8fabf52c
6 changed files with 39 additions and 9 deletions

View File

@@ -319,6 +319,14 @@ class _IllustPageState extends State<IllustPage> {
_bottomBarController.download();
case 6:
_bottomBarController.follow();
case 7:
if (ModalRoute.of(context)?.isCurrent ?? true) {
CommentsPage.show(context, widget.illust.id.toString());
} else {
context.pop();
}
case 8:
openImage(0);
}
}