mirror of
https://github.com/wgh136/pixes.git
synced 2025-09-27 04:57:23 +00:00
add shortcuts
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user